Unwanted content in emailed form content

Issues related to forms.
Post Reply
agilefalcon
 
 
Posts: 9
Joined: Tue Jan 25, 2022 8:38 pm

Unwanted content in emailed form content

Post by agilefalcon »

When a form is completed and submitted, I am getting the following line in the email that does not correspond to an input field:
"Send Member Details Button : Apply"

In the button properties, General tab, the Name of the button is "Send Member Details Button" The button Value/label is "Apply"

Why is a button name being sent along with the form content derived from the Editbox content?
How do I stop this behavior?
User avatar
Pablo
 
Posts: 22995
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Unwanted content in emailed form content

Post by Pablo »

A button is also an input field so that is why it is also sent. This is standard HTML behavior.
A possible work around is to the button type to 'link' and then use an event to submit the form.
Or rename the button name to 'submit' or 'send', then it be filtered out of the form data.
agilefalcon
 
 
Posts: 9
Joined: Tue Jan 25, 2022 8:38 pm

Re: Unwanted content in emailed form content

Post by agilefalcon »

Thank you very much! That's why it didn't appear in previous iterations of the form - because it had a regular "Send" caption.

Chris.
Post Reply