I have a dynamic form tied to a RestDataSource. Some of the form items are not required. When the savaData (ADD) method is called, the form items that are not required are setting their value to the word null. If the user did not input a value in non-required field, I would prefer the associated param value passed to the server-side be empty (null).
Here is a sample of the params/values passed to the server-side:
ignoreMissingValues false
indexBeginDateStr null
indexEndDateStr null
intervalName DAILY
As a result, when the server-side parses the params list the value for indexBeginDateStr is the word "null". I would like the param to be empty or not set to the server-side when the value is empty.
Thanks in advance for your help.
Here is a sample of the params/values passed to the server-side:
ignoreMissingValues false
indexBeginDateStr null
indexEndDateStr null
intervalName DAILY
As a result, when the server-side parses the params list the value for indexBeginDateStr is the word "null". I would like the param to be empty or not set to the server-side when the value is empty.
Thanks in advance for your help.
Comment