Both of you seem to have a little confusion about this...
If you have a yes or no option, you MUST use radio buttons. The whole purpose of a radio button in a web form is to allow the user to choose EITHER OR... no option to choose both. Checkboxes would allow you to choose both yes and no so that's not a good idea. That is just how checkboxes work If you want to use a checkbox, you'd need to give only one value, not a yes or no... just one box and make it required. If giving yes or no, use radio buttons.
This is the issue. I have setup a Check Box and it will not calculate the percentage. Only adds the number as a dollar amount, not a calculated percentage, no matter what i do. I do not want to use a radio button as, like you said, this provides an options yet tax is not optional. I have attached a screen shot of my setup. Please let me know if im missing something here. I watched the video, and im sure i did everything right, but.....
Thanks,
Attachments:
Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.
I will check into this but you could still use a radio button IF you give only one value AND you provided the "Selected Value". That way the radio button will automatically be selected... and if there is no other option, the user will not be able to UNselect that radio button. That may be the better route anyway as the checkbox can be unchecked.
Well, i tried using a radio button and no luck, the total is still not calculated as a percentage but rather adds the 7 as a dollar amount. However things are different in the front end... with a check box no extra fee is added at all and with a radio button the total is calculated properly. So, this says to me that the code for calculating is different front end to back end and also from radio to check box. i need this in the backend just as much as the front end tho, so still a mystery...