Project

General

Profile

Actions

Activity #2570

closed

Module #2268: Pension Claim - Phase II

Sub module #2269: Online Member Claim

Sub module #2522: JSP and client side logic

Saving member pension claim

Added by Thara S Pillai about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
05/31/2024
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)
Planned Due Date:

Description

  • Move JavaScript function saveData to form10D.js
  • Get form data into a JSON object.
  • Use FormData API to get values from JSP form tag library
  • Naming convention to use: the ID for forms to end with word Form
    Try the following:

var form = document.getElementById('onlineClaimDomain');
var formData = new FormData(form);
var jsonObject = {};
formData.forEach((value, key) => {
jsonObject[key] = value;
});
var jsonString = JSON.stringify(jsonObject);
console.log(jsonString);


Subtasks 1 (0 open1 closed)

Activity #2615: Validation in Member InterfaceClosedRasmiya R S05/31/2024

Actions
Actions

Also available in: Atom PDF