Removing unwanted fields from form
OK I've read the threads on this.
I need to remove these fields from the end of the email form (which arrives when the form is submitted)
HiddenFields fields:
YourDentalRep submit:
Now I have managed to remove the first field (HiddenFields fields) this is my code:
$remove = array();
$remove[] = "";
$remove[] = "x";
$remove[] = "y";
$removeBegins = array();
$removeBegins[] = "Security";
$removeEnds = array();
$removeEnds[] = "_x";
$removeEnds[] = "_y";
$removeIncludes = array();
$removeIncludes[] = "Security";
$removeIncludes[] = "HiddenFields_fields";
Now I've tried to add:
$removeIncludes[] = "YourDentalRep_ submit";
or
$removeIncludes[] = "submit";
Neither works..
Please advise.
Richard