I have been trying to create multiple forms, with different form fields using different asmx files, with no luck.
The new form i have created works if i change code in RVContactFormMailer.asmx, if i create a new asmx file and add my code, i t doesn’t work. I remembered to change url settings in .js file.
do you have 2 different forms in 2 different pages? is each form is in different form tag? (<form>) or maybe both of them is under wrapper form that is in the master template? did you changed the url in the javascript file of each form so each form will be submitted to different url?
Hi Eran, basically I am just trying to put two forms on two separate pages, possibly even three*. Both forms will be completely different. Is this possible with your RVContactForm package?
* The third form will be extremely small, just an email submission field, which would reside in the footer. The footer will appear on all pages, including the pages with the other two forms. I’m not sure if that will present another problem?
Just to expand on my last post...I have a simple contact form that I am using on one site that is working perfectly. I want have a compeltely different form, with different fields etc, residing on another page in the same site.
The 2nd form will be to collect completely new information vs the first form.
Not completely no. I did end up using the PliableForm package, however I like your method the best (just personal opinion) as it gives me code-level control over the whole process.
I will definitely try to implement your RVContactForm module on a second form on the site though.
great. by the way, i'm working on some improvment and convertion to razor, so i will update my package as soon as i will have the time, so stay tuned..
Reading through the comments here dosnt seem that anyone has solved the issue other change packages.
I have 2 different forms on my site as soon as I added the secound form I get this error.
"An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. "
Exception Details: System.ArgumentException: An item with the same key has already been added.
The forms collect totally different data.
How do I solve this running Umbraco 7.5.4 and Forms 4.3.3
Multiple forms
Hi, I really like this package.
I have been trying to create multiple forms, with different form fields using different asmx files, with no luck.
The new form i have created works if i change code in RVContactFormMailer.asmx, if i create a new asmx file and add my code, i t doesn’t work. I remembered to change url settings in .js file.
Are there any caveats i should know about?
happy that you liked the package.
are you talking about multiple forms in the same page or in different pages?
Eran.
On different pages.
sorry peter for the late response.. i guess that from some reason i didnt get notification to my email that you respond. sorry..
have you managed to solve it? do you need any other help regarding this package?
Eran.
HI Eran, I am facing the same problem as Peter. Is there any information you could provide to accomplish this?
Thank you!
Sean
Hi Sean,
can you describe me your problem in detail?
do you have 2 different forms in 2 different pages? is each form is in different form tag? (<form>) or maybe both of them is under wrapper form that is in the master template? did you changed the url in the javascript file of each form so each form will be submitted to different url?
Hi Eran, basically I am just trying to put two forms on two separate pages, possibly even three*. Both forms will be completely different. Is this possible with your RVContactForm package?
* The third form will be extremely small, just an email submission field, which would reside in the footer. The footer will appear on all pages, including the pages with the other two forms. I’m not sure if that will present another problem?
Thanks!
Sean
Hi Eran,
Just to expand on my last post...I have a simple contact form that I am using on one site that is working perfectly. I want have a compeltely different form, with different fields etc, residing on another page in the same site.
The 2nd form will be to collect completely new information vs the first form.
hi sean,
again, sorry for the late response - i dont get any notifications about your message, sorry.
the answer is yes, its possible to do that without any problem. did you solve it?
Hi Eran,
Not completely no. I did end up using the PliableForm package, however I like your method the best (just personal opinion) as it gives me code-level control over the whole process.
I will definitely try to implement your RVContactForm module on a second form on the site though.
-Sean
great. by the way, i'm working on some improvment and convertion to razor, so i will update my package as soon as i will have the time, so stay tuned..
my twitter is @thereturnvalue
thanks.
Eran,
Reading through the comments here dosnt seem that anyone has solved the issue other change packages.
I have 2 different forms on my site as soon as I added the secound form I get this error.
"An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. "
Exception Details: System.ArgumentException: An item with the same key has already been added.
The forms collect totally different data.
How do I solve this running Umbraco 7.5.4 and Forms 4.3.3
is working on a reply...