September 21, 200619 yr Hi All. Have a lot of trouble with making a text link work as a submit button in a form. Have a form with 4 buttons I would like to change to text links. The form works fine with buttons. In the form with buttons I use token to set a value depending on the button clicked on. Want to change the buttons to text links (looks better in the design used) This works OK as submit buttons in the form: It sends the token to the resultpage and all is fine: Then I tried this: This works OK as submit link but I need the token too. function formSubmit() { document.getElementById("myForm").submit() } ) Bil Then I changed it to this: Bil But it does not work. Anyone know if it's possible to send the token by clicking on a text link? And still send the rest of the form fields so they can be used as actionparam on the next page. Any help would be great. Thanks The Dog
October 24, 200619 yr Woof! Hi, Dog! I haven't done it myself but I think you can do what you want with the right JavaScript script, so you're on the right track but I don't know enough JS to troubleshoot your script. Another option you might consider, though, is to use an IMAGE as a button instead... it can even look like text if you want, too. I used to use images as submits all the time and they work great! --ST
Create an account or sign in to comment