Form with email recipient selection option

Issues related to forms.
Post Reply
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Form with email recipient selection option

Post by MUDJ »

Hello.
I've to create a email form responsive. In this email, i've to insert "department". Any department have him email adress (Example of [RZ] Form Placeholder to visualize option http://www.magnawebstudio.com/demo/plac ... /main.html).
To select the option and insert one email for any department, where should i go to edit?
Can anyone help me or give me video links or reference links for this specific function, to be able to select the recipient, so form parameters to modify?
Thanks!
Regards!
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form with email recipient selection option

Post by Pablo »

Please see the help:
Context -> Toolbox -> Form -> Form processing -> Email address
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

Thanks!
Ah.. not is only to put in combo box new element example Text: Info Valor: info|email@email.com ? This is a possible solution? I've just see video on youtube...
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

Sorry.. where I find the Context -> Toolbox -> Form -> Form processing -> Email address? Which guide? Of WWB software on online on website? Or in this forum?
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form with email recipient selection option

Post by Pablo »

I was referring to the help: Application -> Menu -> Help
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

Ok! Finded the "$MAILTO$" function in help! In case, i reply here if i not understand correcly the procedure...
Thanks for help!!!
Regards!
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form with email recipient selection option

Post by Pablo »

Which part of the instructions don't you understand?
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

Probable my english is not good and the google translator not translate the form correct of the phrase..
Pratically, i not understand the function $MAILTO$ ..where it must be inserted and where instead the field must remain empty so that the email inserted in the values of the combobox elements is used to send email directly at the correct "department" (if it's only this that i've to setting).
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form with email recipient selection option

Post by Pablo »

1. Set the 'Email address' property of the form to $MAILTO$

2. Add a combobox and set the 'name' property to $MAILTO$

3. Add multiple items to the combobox where the name is a name/department and the value is the email address.
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

Hello!
Sorry but not work. Not understand the problem!
I've 5 layout grid into one and this principal that contain others, i've setting property of Form PHP. I've enable incorporated script Form PHP. Into tab "general", in email adress, i've writed "$MAILTO$", then select the page of confirm and error. In advanced property i've select file upload in a folder.. and write name of folder and selected max 15000 kb (i've a VPS server). In the form, i've name, surname etc... + 3 upload fields and combobox to setting "departments". In html form processor, i've wite the name of folder to upload the file and into combo box, i've writed in "Elements" the text "name of department" and in valor the "email @ of department . com". I've upload all but result forever error page. I want to setting too the autoresponder but if the form not work correctly i've to find the problem. You help me please? The form is at this moment in this page: https://mdivisiongroup.com/sitidemo/FER ... ntatti.php. I've copied the form from my site and modified the fields: https://mdivisiongroup.com/contactsform ... ontact.php (this form work correctly). Please, help me! Thanks in advance!
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form with email recipient selection option

Post by Pablo »

I think you will have to take a few steps back. Your form looks very complicated and I have no idea where to start looking.

I suggest to start with a simple form, where you only implement the 'department' functionality.
Once you have that part working you can go and integrate it in your other forms.

If you run into a problem with the demo form then please share the project so I can see all your settings.
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

The demo form work perfectly.
Is the form of Fercas store that not work, but i test to create now new simple form with just name, last name and departments. If not work in case contact you.
P.S. how do I share the project?
Thanks.
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

I've created and tested simple form at this page: https://mdivisiongroup.com/sitidemo/FER ... stform.php and work correctly.
But not understand the problem in my "complicated" form... i've create this last for test in 2 seconds... the complicated form is setting in responsive layout.. never of plus... boh... i check all again..
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

Sorry... How many layout grids can I insert into a form contained in a single grid with the form enabled? Because if I put everything in one grid it works correctly. If I insert the fields in multiple grids so that they are correctly adapted to the responsive page, obviously all the grids contained in a single grid enabled for the form mail, it creates the error on sending. Thanks for reply.
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form with email recipient selection option

Post by Pablo »

Your page has multiple nested forms. This is not supported in HTML.
There should only be one form, usually the outer grid.
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

Pablo wrote: Wed Jun 03, 2020 6:24 am Your page has multiple nested forms. This is not supported in HTML.
There should only be one form, usually the outer grid.
The form is in php.
Not understand why the big DEMO FORM work perfectly with multi form in multi grid layout (all in one grid layout) and this last form not. You have modify a WWB in this 2-3 years for create a form? (It's possible flex grid it is a replacement of the layout grid? Because if the DEMO FORM work perfectly with layout grid.. all responsive, i've just make copy and paste form in other web project and published into same server, same hosting and same web site (only create a new folder to contain web project to test), but the form have to work. In my site, i've 7 complex form and all works. I can only imagine that a modification has been made to the WWB and now there is no longer the possibility of doing the same thing that I could have done before.

Why this forms work perfectly with 4/12 layout grid (more complex with 10 upload file):
https://mdivisiongroup.com/contactsform ... ontact.php (4 layout grid to one and one setting to form)
https://mdivisiongroup.com/contactsform ... tebook.php(12 layout grid to one and one setting to form)
https://mdivisiongroup.com/contactsform ... letter.php(4 layout grid to one and one setting to form)
https://mdivisiongroup.com/contactsform ... ctweb.php#(4 layout grid to one and one setting to form)
https://mdivisiongroup.com/contactsform ... stions.php(12 layout grid to one and one setting to form)
https://mdivisiongroup.com/contactsform ... ontact.php(5 big layout grid to one and one setting to form)
https://mdivisiongroup.com/contactsform ... motext.php(5 big layout grid to one and one setting to form)

And this form work only in this mode with only one layout grid?
https://mdivisiongroup.com/sitidemo/FER ... ntatti.php

Not is strange this?
Please, help me to resolve or tell me if the problem consist to programming the new update versions of WWB.
Likely something has been changed at the form level?
Thanks.
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form with email recipient selection option

Post by Pablo »

Please note that I cannot see what you have done based onthe HTML code.
However, I do see that you have multiple nested forms. This is not correct. There should only be one form.

This has nothing to do with WWB. It is a HTML rule.
http://www.w3.org/TR/xhtml1/#prohibitions
MUDJ
 
 
Posts: 81
Joined: Sun Jan 10, 2010 2:22 pm

Re: Form with email recipient selection option

Post by MUDJ »

Pablo wrote: Wed Jun 03, 2020 11:12 am Please note that I cannot see what you have done based onthe HTML code.
However, I do see that you have multiple nested forms. This is not correct. There should only be one form.

This has nothing to do with WWB. It is a HTML rule.
http://www.w3.org/TR/xhtml1/#prohibitions
Ok... i understand is out of rule, but i've created this website in 2009.. and with WWB i've start to use with WWB9 or WWB10 (not remember).
at that time, it was not possible to create many things at the form level and therefore it was easier to create more forms, and simple .. which over time became more complex because it required more data based on the current regulations of my sector. Now, the fact of being able to create a multi-page form, for me it could be an essential thing to group all the forms into a single form. When responsive grids were created, everything was much more complex but at the same time simplified. I also create websites and to test sites, of course, I upload inside my server. But for what I'm doing, it would take a lot of time to group them because there are many variables to be considered and inserted, variables to be hidden and displayed, without considering the "previous" and next "buttons that must take into account all the pages to be to develop. For that I have done before to create a form for every situation. However they are working and I don't understand why this doesn't work like the others. However, placing it in a single layout grid works correctly. I regret not being able to insert the form in multiple grids to make it responsive as I would like.
However, I will also adjust to others so as not to underestimate the W3 rules.
Thanks anyway for the tip. I didn't know about this rule!
Have a good day!
Regards!
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form with email recipient selection option

Post by Pablo »

Note that you can use nested grids, but you cannot use nested forms.
This means that the outer grid should be the form. For all inner grids the 'Enable form' property should be OFF.

If you need further assistance then please share a demo project so I can see what you have done.

Important note: I do not need the full project, only basic page with the form.
Post Reply