farhana Posted October 14, 2016 Share Posted October 14, 2016 I want to insert CheckBox instead of Bullet in 'Agree to Terms of Use' section on this page http://wetheresidents.com/component/users/?view=registration Please guide me! Link to comment Share on other sites More sharing options...
davej Posted October 14, 2016 Share Posted October 14, 2016 A checkbox is an actual element. A bullet isn't. http://www.w3schools.com/html/tryit.asp?filename=tryhtml_input_checkbox Link to comment Share on other sites More sharing options...
farhana Posted October 14, 2016 Author Share Posted October 14, 2016 So is there a way to replace bullet with CheckBox Link to comment Share on other sites More sharing options...
davej Posted October 14, 2016 Share Posted October 14, 2016 Where? At the bottom of the "Terms of service" popup modal? Or in the place of the Agree/No radio buttons? Link to comment Share on other sites More sharing options...
farhana Posted October 14, 2016 Author Share Posted October 14, 2016 in the place of the Agree/No radio buttons Link to comment Share on other sites More sharing options...
dsonesuk Posted October 14, 2016 Share Posted October 14, 2016 I was just about to say, that is a radio button not a bullet, simply answer is, remove input type radio button/s, replace with input type checkbox. Link to comment Share on other sites More sharing options...
davej Posted October 14, 2016 Share Posted October 14, 2016 You have this... <div class="controls"> <fieldset id="jform_profile_tos" class="required radio" required aria-required="true"> <input type="radio" id="jform_profile_tos0" name="jform[profile][tos]" value="1" required aria-required="true" /> <label for="jform_profile_tos0">Agree</label> <input type="radio" id="jform_profile_tos1" name="jform[profile][tos]" value="0" checked="checked" required aria-required="true" /> <label for="jform_profile_tos1" >No</label> </fieldset> </div> ...what happens if you replace it with... <div class="controls"> <input type="checkbox" id="jform_profile_tos0" name="jform[profile][tos]" value="1"/> <label for="jform_profile_tos0">I Agree</label> </div> Link to comment Share on other sites More sharing options...
farhana Posted October 17, 2016 Author Share Posted October 17, 2016 Where to insert this code? Link to comment Share on other sites More sharing options...
dsonesuk Posted October 17, 2016 Share Posted October 17, 2016 It is html, he said to replace one with other? Link to comment Share on other sites More sharing options...
davej Posted October 17, 2016 Share Posted October 17, 2016 I can only see your rendered html when I view source here... and that rendered html begins around line 309... http://wetheresidents.com/component/users/?view=registration ...however I don't exactly know what the actual server-code looks like. It might be different. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now