jasonc Posted July 3, 2011 Share Posted July 3, 2011 I have a form that only shows the submit (update) buttons if the value select field beside it is changed. But what is someone has JS disabled, how can I enable them? <select title="3553" name="3553" onchange="JavaScript:document.cart.add3553.disabled=false;"> Quote Link to comment https://forums.phpfreaks.com/topic/241024-how-to-enable-dynamic-form-fields-if-js-turned-off/ Share on other sites More sharing options...
jasonc Posted July 4, 2011 Author Share Posted July 4, 2011 Having re-read me own post, I realised I was asking the question the wrong way around. What I should be asking is how do I set only the 'update' submit buttons, only the buttons within a certain form called 'cart', to 'disabled' My page can have two forms and on certain pages up to three forms, each form of course has a different name. So I do not want to disable every submit button on the page, only those within the form called 'cart' Quote Link to comment https://forums.phpfreaks.com/topic/241024-how-to-enable-dynamic-form-fields-if-js-turned-off/#findComment-1238094 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.