need help with changes to index.tpl
Posted: Tue Dec 04, 2007 6:48 pm
Hi,
I'm a smarty-dummy
and need help with integrating a web form into my index.tpl.
I really need it done and I'm willing to pay for it.
(Better than wasting more hours to try on my own. I'm done with that.)
What I want to do:
I want to integrate an html from that submits user name and email and a hidden field. The form uses some javascript to get a parameter from the browser address line that is then added to the hidden field.
Most of the code is working fine on a normal html page but not with the smarty template. I guess it has to do with the Javascript that creates a variable from the URL parameter.
The Javascript and the form are on lines 30-71 and 89-138.
http://internetbusinessmastermind.com/test/index-2.htm
A second thing that is not working right now is clearing the fields after submitting. [onsubmit=myform.reset();]
If you can fix this please send me message (or post) and state a price.
Thanks,
Ralf
I'm a smarty-dummy
I really need it done and I'm willing to pay for it.
(Better than wasting more hours to try on my own. I'm done with that.)
What I want to do:
I want to integrate an html from that submits user name and email and a hidden field. The form uses some javascript to get a parameter from the browser address line that is then added to the hidden field.
Most of the code is working fine on a normal html page but not with the smarty template. I guess it has to do with the Javascript that creates a variable from the URL parameter.
Here's a html-copy of the template where you can check the source code.Fatal error: Smarty error: [in /www/htdocs/w0080657/templates/bazooka/index.tpl line 40]: syntax error: unrecognized tag 'var'
The Javascript and the form are on lines 30-71 and 89-138.
http://internetbusinessmastermind.com/test/index-2.htm
A second thing that is not working right now is clearing the fields after submitting. [onsubmit=myform.reset();]
If you can fix this please send me message (or post) and state a price.
Thanks,
Ralf