![]() |
Submit a Form? Can't anyone do this??
I have an html page at http://www.caymanclub.net/vin_decoder.htm that I would like to "incorporate" into my site instead of just having it as a stand-alone page. My first thought was to try and add it as a page or a template. Whenever I do either the form displays but when a user puts in data and presses the submit button it just returns back to the page showing a blank form again, not the form results.
The page listed above is done in javascript and you can see the full script or copy the whole page and try it on your own server. There is "something" about vbulletin that is keeping this from working but I don't know what it is. :( I have to believe someone has run into a problem like this before but despite searching this forum and vbadvanced.com's forum I cannot locate an answer to the problem. BTW the link above works but this link (a template) does not: http://www.caymanclub.net/?page=vin Again, any ideas why? |
The vBA page is registered members only. The first .htm works.
|
Yes I know the first .htm works, that's the problem, why doesn't the vBA page template work as well? I have changed the permissions so that unregistered people can now view that page. Please try again. :)
|
If I had to guess, it appears that on the htm page, the JS can grab and process the data because there is only one form. On the vBA page, maybe you need to specifically call the JS function on POST rather then leave the action= blank?
|
noppid,
Can you tell me how to do that? ;) I'm not good with JS syntax. :) BTW I did try pasting the call to the js function in the action= line and this is what I got, a 404 error with the following: The requested URL /decodeVIN(entry,'mainbut'); return false was not found on this server. So it tried to load a page, not execute that specific JS function which means I have something wrong in the syntax I guess?? |
All times are GMT. The time now is 07:14 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|