• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

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.
0
davidw88
Asked:
davidw88
  • 6
  • 5
1 Solution
 
SysExpertCommented:
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 !
0
 
davidw88Author Commented:
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.
0
 
SysExpertCommented:
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 ?

0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
davidw88Author Commented:
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.
0
 
SysExpertCommented:
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 ?

0
 
davidw88Author Commented:
I use Domino 6.5. For the Notes Client, it is 6.5. Sorry I can not find "Preview" button my Notes Client.
0
 
SysExpertCommented:
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.




0
 
davidw88Author Commented:
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.
0
 
davidw88Author Commented:
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.
0
 
davidw88Author Commented:
Hello SysExpert,
I have fixed the first problem with wrap skills ... only the formula problem left.
0
 
SysExpertCommented:
You should use the hide-when option of the textfield

Hide the field if radiobutton=NoChange
look up Hide-when in the Designer help

 
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now