Mashiane Expert Licensed User Longtime User Sep 16, 2021 #1 Hi there How can one add attributes like 'required' which usually don't have an attribute value B4X: <input required> Thanks
Hi there How can one add attributes like 'required' which usually don't have an attribute value B4X: <input required> Thanks
Solution tchart Sep 16, 2021 Not sure about bnano but in JavaScript you can just write required=true or required="required" which is the same as required by itself. Some discussion here; https://stackoverflow.com/questions/18770369/how-to-set-html5-required-attribute-in-javascript
Not sure about bnano but in JavaScript you can just write required=true or required="required" which is the same as required by itself. Some discussion here; https://stackoverflow.com/questions/18770369/how-to-set-html5-required-attribute-in-javascript
tchart Well-Known Member Licensed User Longtime User Sep 16, 2021 #2 Not sure about bnano but in JavaScript you can just write required=true or required="required" which is the same as required by itself. Some discussion here; https://stackoverflow.com/questions/18770369/how-to-set-html5-required-attribute-in-javascript Upvote 0 Solution
Not sure about bnano but in JavaScript you can just write required=true or required="required" which is the same as required by itself. Some discussion here; https://stackoverflow.com/questions/18770369/how-to-set-html5-required-attribute-in-javascript