Contents

 
Home
ASPRunner Professional 7.1 manual
Prev Page Next Page
 
 

Add custom field to form

 

To add custom field to the form follow the instructions below.

yellowbulbNote: Change the values listed in red to match your specific needs.

1. Proceed to the Visual Editor page, switch to HTML mode and add a custom input field to your form. Make sure you specify field ID.

<INPUT id=test type=text>

2. Add the following code to Javascript OnLoad event of the page where custom field was added:

this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){

  var val = $("#test").val();

  formObj.baseParams['test'] = val;

});

3. In any event like Before record added or Before process use postvalue("test") to access the custom field value.

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)