Hello all.
I need help with the Checkboxes.
I have added some to a form and when I use the Built-In Form Processor and set the email message to Plain Text "Values submitted from website form", the email arrives with the response for only the boxes that were checked.
I have the Checkbox data set as follows ... Name=foster_screen, Value = YES.
Here is the example of the incoming email thru Plain Text:
Foster Home : YES
Offsite Adoptions : YES
Delivery : YES
That is working properly.
However, if I want to set up the email message to Rich Text and configure the email data as follows:
Foster/Screening: $foster_screen
Transportation: $transport
Fundraising: $fundraising
Clerical Office Help: $clerical
Off-Site Adoptions: $offsite_adoptions
Special Events: $special_events
Pick Up / Deliver: $delivery
The resulting email still shows the correct response for the boxes I checked off, but it also shows the script value for the boxes that were not checked off.
Here is that example:
Foster/Screening: YES
Transportation: YES
Fundraising: $fundraising
Clerical Office Help: $clerical
Off-Site Adoptions: $offsite_adoptions
Special Events: YES
Pick Up / Deliver: $delivery
How do I resolve this? I really like the functionality of the Rich Text format over the Plain Text format.
Thank you in advance.
Checkbox Help
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
-
-
- Posts: 169
- Joined: Thu Nov 15, 2007 2:36 pm
- Contact:
Checkbox Help
Sincerely,
Barbara Lolmaugh
http://www.websitesbybarbara.com
Barbara Lolmaugh
http://www.websitesbybarbara.com
Re: Checkbox Help
I'm sorry, there is no standard solution for this. This will require a custom script.
The issue is that if the value is empty (unchecked) then the browser will not sent the value to the server. So, the variable will not exist in that case.
For the plain text, the script will replace the empty values, but this feature does not exist for rich text.
The issue is that if the value is empty (unchecked) then the browser will not sent the value to the server. So, the variable will not exist in that case.
For the plain text, the script will replace the empty values, but this feature does not exist for rich text.
-
-
- Posts: 169
- Joined: Thu Nov 15, 2007 2:36 pm
- Contact:
Re: Checkbox Help
Thank you.Pablo wrote: Mon Apr 28, 2025 2:29 pm I'm sorry, there is no standard solution for this. This will require a custom script.
The issue is that if the value is empty (unchecked) then the browser will not sent the value to the server. So, the variable will not exist in that case.
For the plain text, the script will replace the empty values, but this feature does not exist for rich text.
And Thank you for all you do.
Sincerely,
Barbara Lolmaugh
http://www.websitesbybarbara.com
Barbara Lolmaugh
http://www.websitesbybarbara.com