xerox02 Posted June 28, 2010 Share Posted June 28, 2010 Can I have my submit form above my checkboxes? For example: <input type="submit"> <input type="checkbox" name="checkbox" id="checkbox-1" value="checkbox-1"; /> <label for="checkbox-2" tabindex="2"></label> <input type="checkbox" name="checkbox" id="checkbox-2" value="checkbox-2" /> <label for="checkbox-3" tabindex="3"></label> <input type="checkbox" name="checkbox-3" id="checkbox-3" value="checkbox-3" /> <label for="checkbox-4" tabindex="4"></label> <input type="checkbox" name="checkbox-4" id="checkbox-4" value="checkbox-4" /> How could I get this to work? On my page I need the submit button in another div above the html code and not under it. Is there a css,js or html solution that will allow me to have the custom image submit button above the html code of the checkboxes? Link to comment https://forums.phpfreaks.com/topic/206060-can-i-have-my-submit-form-above-my-checkboxe-code/ Share on other sites More sharing options...
haku Posted June 28, 2010 Share Posted June 28, 2010 As long as the submit button and all checkboxes are enclosed within the <form> tags, you can put the submit button wherever you please. Link to comment https://forums.phpfreaks.com/topic/206060-can-i-have-my-submit-form-above-my-checkboxe-code/#findComment-1078195 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.