Choffo Posted January 9, 2007 Share Posted January 9, 2007 How can I, instead of using a submit button, use an url to submit forms? I have made it work with a javascript, but I prefer not to use javascripting.I really appreciate help! Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted January 9, 2007 Share Posted January 9, 2007 errrr.....I didn't understand that. Can you put that in plain english please... ta very much. Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 9, 2007 Share Posted January 9, 2007 He means instead of clicking a button to submit a form, you click on a link, like text surrounded by a href= etc.The easiest way to achieve the same effect without javascript might be to use an image as the submit button, or to format the button using CSS to appear just like your links do.Best of luck.Matto: that's javascript! Pah. Quote Link to comment Share on other sites More sharing options...
matto Posted January 9, 2007 Share Posted January 9, 2007 The only way you could would be to use something like[code]<a href="#" onclick="form_name.submit();">Link</a>[/code] Quote Link to comment Share on other sites More sharing options...
Choffo Posted January 10, 2007 Author Share Posted January 10, 2007 thanks jesirose :) Quote Link to comment Share on other sites More sharing options...
emehrkay Posted January 10, 2007 Share Posted January 10, 2007 im pretty sure javascript is the only way to do thisonclick ="document.getElementById(formid).submit();" Quote Link to comment Share on other sites More sharing options...
Choffo Posted January 10, 2007 Author Share Posted January 10, 2007 Ok. Then I should try it again using javascript. I just wanted to find out if there were any other way of doing this. Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 10, 2007 Share Posted January 10, 2007 Choffo: if you decide to do what I suggested and need help with your HTML and CSS, there's a forum for that too, so feel free to check there for help with it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.