Link to home
Start Free TrialLog in
Avatar of davidw88
davidw88

asked on

How to choose one radio button: Domino/Notes

Hi Experts,

I work on Domino/Notes platform.

On a page there is an item "History Form" and its value can only be chosen from one of the three radio buttons of "New", "updated" and "No Change".  At this time my scripts allow me to choose all three radio buttons. Now my question is: how to modiy this scripts to choose just one radio button?

<table>
<tr style = "font-size: 70%; color: navy"><td  style = "font-weight:bold;" class="fieldLabel"  >History Form:</td><td class="fieldValue"> NewRadioButtonField New  UpdatedRadioButtonField Updated NoChangeRadioButtonField No Change</td> TextInputFieldArea </tr></table>

Another requirement is that the "TextInputFieldArea" should be hidden unless either "NewRadioButtonField" or "UpdatedRadioButton" is chosen. In other words, if "NewRadioButtonField" or "UpdatedRadiobutton" is chosen, the text input area gets popped up. I would like to write a formular with Domino/Notes to realize this. How to write this formula?

Thanks so much.
Avatar of SysExpert
SysExpert
Flag of Israel image

A true radio button will only allow one option to be chosen.

Are you doing this on a form ?

Does it work OK in a Notes Client ?

I hope this helps !
Avatar of davidw88
davidw88

ASKER

Hi SysExperts,
Thanks for your prompt reply. Yes, I am working on a form.
The radio buttons shows correctly on IE browser, but I can choose all three of them. This is not what I want. Any ideas of just choosing one radio button?

Thanks again.
In the field for the form, did you choose the Radio button as the field type ?

Does it work OK when you use the Notes Preview ?

What changes from the default settings were made ?

Yes, I have chosen "Radio Button" on the "Field Property".
I have not created a view to preview this form therefore I can not preview on Notes client.
You do not need a view, all you need is the form and press the Notes preview button.

What version of Client ad server are you using ?

I use Domino 6.5. For the Notes Client, it is 6.5. Sorry I can not find "Preview" button my Notes Client.
It s in the Design Client, not the Notes client.

From the menu you can choose - Design - preview in Notes or browser or use the Smart cons.




I can certainly use something like
<INPUT TYPE="radio" NAME="relation" VALUE="Question">, but it needs to write much more HTML. I just wonder if there is a faster way to realize this aim in Domino/Notes.
I checked with "Design -- Preview in Notes", but it is the same thing just as  that on IE browser. I can choose all three radio buttons.
Hello SysExpert,
I have fixed the first problem with wrap skills ... only the formula problem left.
ASKER CERTIFIED SOLUTION
Avatar of SysExpert
SysExpert
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial