Returns the ID in the DOM of the HTML element that contains the data for the specified field.
Executed
Client-side only
Arguments
Argument | Type | Description |
---|---|---|
fieldName | String, required | The name of the field |
Note that care needs to be taken when using
Returns
String. This is typically FIELDID_FIELDNAME
Example
function(helper, defaultValue, currentValue) {
var theID = helper.getFieldID('GETMYID');
return theID;
}
Last modified on 13 September 2023