I have below html on the form
There is also save button on the form. When I am saving the form radio button value gets lost. What is the problem?
What I am doing wrong.
Purpose of taking html radio button is that I need line spaces between the above 2 radio buttons.
thanks
Subject: Radio Button HTML
You cannot directly save data into fields that are present in pass-through HTML only and don’t have a corresponding Notes item.
Subject: RE: Radio Button HTML
Now it is saving the checked radio button value in qa field but still the radio button is not checked after saving.
Subject: RE: Radio Button HTML
Of course. Your pass-through HTML doesn’t change at all (yet), if a value has been saved before. You have to include some computed text or field in your HTML that computes to either “checked” (if this is the current value) or “”.
Subject: RE: Radio Button HTML
Can u please little more clear on it how to do that
Subject: RE: Radio Button HTML
Not if you don’t take the time to write “you” instead of “u”.
What makes a radio button checked in it’s HTML representation? If you don’t know, just create a sample form with one radio button field on it, assign it a default value and preview that form in the browser. Look at the HTML source and you should see instantly what is missing from your pass-through code.
If you still struggle to find the answer, come back and we will be able to help you further.
Subject: RE: Radio Button HTML
Thanks I got it.
Subject: Radio Button HTML
You need to include a field named “qa” on your form. It can be a hidden text field (hidden from the web), but it needs to be on the form if you want the value to be saved.