Is there a way to store both the value of a radiobutton as well as whether it was selected or not? I can store the selected value in the groupname ok but don’t know how to indicate which radio button it came from.
Also, I have a textinput box which is set to number and gets its values from a calculation of 2 other textinput boxes. The calculation works great. When Iook at that element in serverconnect, it comes acxross as a text box with multiple values text in the Post variables global list. Is there a reason for this? I tried unclicking the multiple values option and even converting it to a number but only 0 is stored in the database not the real calculated value. I don’t get any errors in debug mode.
A radio button has two important attributes, namely 'name' and 'value'. If the radio buttons form a group, i.e. if one button has been selected, the others are not selected, then the 'name' value must be the same for each button. When the form is subitted, the 'value' value will be posted.
thanks. yes I understand that is what should be happening. What I find strange is that when I link to the fields to a database in server connect, some fields get posted and some do not. I’ll send a separate post for the other questions.