|
|
Maddening Form Creation and Submission
|
|
|
|
Professional Poster
Join Date: Mar 2003
Location: In the South
Status:
Offline
|
|
OK, I've been working on this on and off for weeks with no solution. I've got this PDF form I made. At the end I made an action to submit a web form. The I entered the address and webformmailer.php.
One browser I have downloads the form. Fine, I fill it out, submit it- it goes to a thank you page in my browser. I receive the results. Good.
Now, my other browser opens the PDF in the browser. I fill it out, submit it. It goes to the Thank You page. BUT, I never receive the results. Apparently, it's not working via this method. But, I get no error.
The problem seems to lie with the fact that when the pdf is downloaded, the entire url is needed in the action. However, this is not necessary in the browser-method- only half the url is needed.
The thing is- I can't (or can I?) have 2 separate actions for one form. I just want people to be able to send it regardless of how their browser handles PDFs.
Does anyone understand what I'm trying to do and have any advice for me?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Aug 2000
Location: Minneapolis, MN
Status:
Offline
|
|
Can't you just fully qualify the url in the action? It should then work in ANY scenario.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Wrap the form in a div tag, and replace your form submit button with a Prototype event observer to load the thank you page in the div tag. Include a onComplete callback function that then loads the PDF form.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Mar 2003
Location: In the South
Status:
Offline
|
|
Wow. I have no idea what either of you just said.
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Jun 2000
Location: inside 128, north of 90
Status:
Offline
|
|
yep, I didn't follow besson either... but I think whatbluedog said is can't you use the full url on the button, not a relative link? This way it should work in either case.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Mar 2003
Location: In the South
Status:
Offline
|
|
I tried that and it comes up with an error when not opened within the browser. At some point, it added the front end on as well- but twice: www.mysite/www.mysite etc.
I may stop wasting my time and just redo this in Dreamweaver.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|