Hi
I create a form where we have a drop list you can choose an individual.
I would like to choose an individual from that drop list, fill the comment box and send an email to the individual I pick in the list.
Would it be possible, if yes a couple hints will help me out to achive this.
Thanks
Daniel
Sending email with a list
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
Re: Sending email with a list
This functionality is documented in the help:
Form -> Form processing -> It is also possible to use a combobox as the source for the destination email address.....
Form -> Form processing -> It is also possible to use a combobox as the source for the destination email address.....
Re: Sending email with a list
I am trying to implement this into my form but having an issue. Has anyone used this and have it working? I'm pretty sure I followed the steps correctly but I could be missing something. I'm getting this error in the error log on the page where my form is:
[04-Mar-2023 21:13:23 UTC] PHP Notice: Undefined index: $MAILTO$ in /home/......../public_html/index.php on line 99
The directions say:
1. Set the 'Email address' property of the form to $MAILTO$
this is what I have:
2. Add a combobox and set the 'name' property to $MAILTO$
3. Add multiple items to the combobox where the name is a name or department and the value is the email address.
this is what I have for both:
I can fill in all of the fields and hit submit and do get sent to the success page but no emails are sent due to the error in the error log. If anyone has gotten this to work successfully and can provide what they filled in all their fields that would be very helpful. You can email me screenshots to ron@wizbangwebdesign.com.
[04-Mar-2023 21:13:23 UTC] PHP Notice: Undefined index: $MAILTO$ in /home/......../public_html/index.php on line 99
The directions say:
1. Set the 'Email address' property of the form to $MAILTO$
this is what I have:
2. Add a combobox and set the 'name' property to $MAILTO$
3. Add multiple items to the combobox where the name is a name or department and the value is the email address.
this is what I have for both:
I can fill in all of the fields and hit submit and do get sent to the success page but no emails are sent due to the error in the error log. If anyone has gotten this to work successfully and can provide what they filled in all their fields that would be very helpful. You can email me screenshots to ron@wizbangwebdesign.com.
Re: Sending email with a list
There should not be any references to $MAILTO$' in the final code. So, there is a mistake somewhere.
To be able to help you, I need a demo project so I can see all settings.
To be able to help you, I need a demo project so I can see all settings.
Re: Sending email with a list
Hey Pablo,
I have sent you a demo project link via email. I'm sure it's something i've done incorrectly.
I have sent you a demo project link via email. I'm sure it's something i've done incorrectly.
Re: Sending email with a list
The reason why it does not work, is because the combobox should be a direct child element of the form.
In your case, you have nested another layout grid. So, the form cannot 'see' the combobox.
In your case, you have nested another layout grid. So, the form cannot 'see' the combobox.
Re: Sending email with a list
oh bummer. Without the nested grid, then the look of my form wont work.
Re: Sending email with a list
Any Ideas on a workaround? Whether to make it work or somehow keep the design I have?
Re: Sending email with a list
I'm sorry, I cannot think of a workaround.
The combobox needs to be a directly child of the form, otherwise the $MAILTO$ trick will not work.
It will be a lot more complicated to add support for nested grids, because then WWB needs to keep track of all child elements of nested grids and the combobobox need to figure out which form it belong to. Currently it only check if its parent is a form.
The combobox needs to be a directly child of the form, otherwise the $MAILTO$ trick will not work.
It will be a lot more complicated to add support for nested grids, because then WWB needs to keep track of all child elements of nested grids and the combobobox need to figure out which form it belong to. Currently it only check if its parent is a form.
Re: Sending email with a list
Hey Pablo,
I was able to recreate the form without using nested grids and used a grid with custom overflow. With this I was able get pretty close to how it looked. It seems to be working. The only thing I can say is it seems really slow in processing the form. I don't know if it is the host (GD) which I'm not a fan of or if there is something else making it process slow. Not sure where to look or what could possibly cause a slow submission. I'm sure it is on the server side versus the actual script.
I was able to recreate the form without using nested grids and used a grid with custom overflow. With this I was able get pretty close to how it looked. It seems to be working. The only thing I can say is it seems really slow in processing the form. I don't know if it is the host (GD) which I'm not a fan of or if there is something else making it process slow. Not sure where to look or what could possibly cause a slow submission. I'm sure it is on the server side versus the actual script.
Re: Sending email with a list
I do think this is related to the script. If you take a look at the script then you will see it's very basic code.