ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to figure out a way to break up a single form into multiple parts on a single page. The reason being is i have two forms. I need to have the first half of form one on the top of the page then form 2 in the middle and then the last half of form one on the bottom. is there a way to link the first and second half of a form?
I don't think so. But it sounds like all you're trying to do is put both of the submit buttons at the bottom so the user can submit form1 or 2 by using one of the buttons at the bottom.
Either way, the only solution I can think of is make everything into one big form. You can give names to your submit buttons, so if the user clicks submit button 1, the script will only process the first group of stuff... if they use submit button 2, the script will process only the second group of stuff.
You know... I thought of that, and I was very close to putting that into my post... but I didn't want to advise him to use somethign that depends on the person having JS enabled. If they don't have it enabled, there won't be any clue to the user why their form won't submit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.