Derleek Posted August 4, 2008 Share Posted August 4, 2008 Ok, so i am making a basic mailing function. The form I am going with is a list of old messages with a radio button, a submit button to create a new message, and a button to send the message slected with the radio button. I am having an issue positioning the create message/send message submit buttons. To me it looks better to have the create message button right under the list of old messages, and the send button to the right of that button. Using CSS to position the buttons does not seem to work. do buttons that are posting to different php files need to be in different forms? because if they could be in the same form it would make it easy and i wouldn't have to position anything. If not, how can I line up the two buttons from different forms? Link to comment https://forums.phpfreaks.com/topic/118114-form-handling-question/ Share on other sites More sharing options...
lemmin Posted August 4, 2008 Share Posted August 4, 2008 You can use javascript to set the action of the form depending on which button was clicked. Link to comment https://forums.phpfreaks.com/topic/118114-form-handling-question/#findComment-607753 Share on other sites More sharing options...
Derleek Posted August 5, 2008 Author Share Posted August 5, 2008 what about for user's who do not have JS enabled? any fix? Link to comment https://forums.phpfreaks.com/topic/118114-form-handling-question/#findComment-608249 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.