Annexure
How to use the Input Data Processing Feature?
9 min
this input data processing feature is given to select whether the data entered should have a data formatting option or not such as concatenatestring, calculateage, differencebetweendates, trimspacesstring, uppercasestring, lowercasestring, differencebetweendatesindays, differencebetweendatesinmonths, and sorted array variable in this document how the input data processing feature is used, is explained using an example default template creating a page go to the 'forms v2' widget under the 'pages' tab add/edit text box(es) by entering the variable name, label text, and placeholder text here, we are using one textbox for entering the first name and another one for the last name of the merchant click on 'add' click on 'create screen' now, edit this created page add another textbox and set its variable name, label text, and placeholder text here, we are using this textbox for prefilling the full name of the merchant using the details entered in the previous two textboxes in the prefill page option select the name of the current page, 'input data processing' (name of the page from which the details will be prefilled) and in the prefill variable option select the variable names of the previous two text boxes(names of the variables from which details will be prefilled) enable the 'has input data processing' toggle button on enabling this toggle two more options appear, in the 'choose function/template' dropdown select the function/template from the existing library, here, we have selected 'concatenetstring' in the 'sorted variable array' the page ids and variable names that are selected for prefilling will be visible click on 'add' click on 'create screen' creating the flow after creating the page, a flow will be created in the following way go to the 'flows' tab click on 'add new' and select 'flow' enter the 'flow name' add the required pages to the flow by clicking on them here, we are only adding the page that we have created, 'input data processing' click on 'create' rule engine after creating the flow, rules will be set for the flow using rule engine go to the 'rule engine' tab select the flow from the dropdown add conditions for the pages in the flow (refer to the document on rule engine docid\ gixrk7 tddwnuspzsgnvt ) here, we have no conditions click on 'save and proceed' custom template creating a page go to the 'forms v2' widget under the 'pages' tab add/edit text box(es) by entering the variable name, label text, and placeholder text here, we are using one textbox for entering the first name, one for the last name of the merchant, and another one for the full name enable the 'has input data processing' toggle button in the textbox for 'full name' on enabling this toggle two more options appear, in the 'choose function/template' dropdown select 'template' after selecting 'template', click on 'open code editor' and enter json which follows the format that is given below click on 'add' click on 'create screen' let pannumber = input\["pan"]; let lb1 = input\["mclabel1"]; if(lb1=='tausif') input\["pan"] = `${pannumber touppercase()}`; creating the flow after creating the page, a flow will be created in the following way go to the 'flows' tab click on 'add new' and select 'flow' enter the 'flow name' add the required pages to the flow by clicking on them here, we are only adding the page that we have created, 'input data processing' click on 'create' rule engine after creating the flow, rules will be set for the flow using rule engine go to the 'rule engine' tab select the flow from the dropdown add conditions for the pages in the flow (refer to the document on rule engine docid\ gixrk7 tddwnuspzsgnvt ) here, we have no conditions click on 'save and proceed' getting help please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better you can reach out to us at help\@signzy com