RemoveField(id)
Removes an existing (default) field from the Payment Information group of the Bill Payment Processing page. Note that some default fields cannot be removed. See Default Fields - Custom Bill Payment Processing Page to determine whether a particular default field can be removed.
Parameters
-
id{string} [required] - The field ID of the existing field that you want to remove.
Returns
-
void
Throws
-
EP_MISSING_FIELDS- Thrown when a required argument is missing. Logs 'Please enter required id of field to be removed.' -
EP_INVALID_VALUE- Thrown when an invalid argument is passed. Logs 'Field custpage_2663_xxxxx cannot be deleted.'
Example
var epPaymentSelectionForm = new EPPaymentSelectionForm();
epPaymentSelectionForm.RemoveField('custpage_2663_aggregate');