Client Generated Form Data
Using client-side logic (i.e., JavaScript), you want to add, modify, or delete hidden form data associated with a table in a wizard.
Background
This information applies to any client-side generated form data, that is hidden (i.e., not displayed in a table in the wizard). This is also known as “data store only” data; it refers to data that exists in the data store on the client, but is not rendered in the DOM, so it is not visible in the page.
The hidden data is generated by application-specific JavaScript logic on the client and added as hidden input form data that is submitted to the server. It is also possible to have hidden columns added to a table by the server-side table builder, and then modify those values in the client-side JavaScript.
Scope/Applicability/Assumptions
You have a wizard that contains one or more tables.
Your code needs to add data to the form submitted by the wizard that is not visible in UI.
This data may originate on the client, or it may have default values provided by the server when the table is created, and those default values are to be manipulated by your application's client-side logic.
There may be one or more values associated with each table appearing in the wizard, or there may be one or more (hidden) columns associated with each row in a table.
Intended Outcome
The wizard's form submission will include hidden data that is not visible to the user and that has been created or modified by application-specific, client-side logic.
¿Fue esto útil?