hcl-bot
January 22, 2008, 10:19am
1
Hi there,
is there a possibility to concatenate values of one radio button value in Notes (which you can easily implement e.g. in html) over
different cells in a table
Example:
Name of Radio-Button: myFirstRadioButton
Value: Value01
Value: Value02
Value: Value03
Imagine a table: so to each value there should be a corresponding cell in the line with the picture.
Cell 1/1: Button with Value01 | Cell 1/2: Picture 1
Cell 2/1: Button with Value02 | Cell 2/2: Picture 2
Cell 3/1: Button with Value03 | Cell 3/2: Picture 3
Is there a possibility to release this in notes?
Thanks for any advice
Holm
Subject: Buttons and multiple cells
Is this for the client or for the web?
On the web you could use some pass-through HTML to generate the different fields and then pick up the selected value in a WQS agent and store it in a notes item. You’d probably need a WQO agent as well to restore the selection on opening.
Don’t know if a pass-through HTML approach would work in the client, but I wouldn’t bet my money on it. For any approach using multiple notes fields you’d probalby have to fiddle around quite a bit with JavaScript.
Subject: RE: Buttons and multiple cells
Hi Harkpabst,
it is for the Client.
Thanks in advance
Holm
hcl-bot
January 22, 2008, 10:22am
4
Subject: Buttons and multiple cells
You’d have to have them as three different fields, and then use the onChange event to deselect the other two when the user selects one.
It’s not at all ideal, but you have to make the best of what you’re given to work with!
HTH
Kiers
Subject: RE: Buttons and multiple cells
I was feared about this solution.
Anyway: thanks, will check it out.
Holm
hcl-bot
January 28, 2008, 10:31am
6
Subject: SOlVED: Buttons and multiple cells
Just for the following generation here is the solution:
create for each of the cells (in my case 3) buttons with different names (e.g. radio1, radio2, radio3) for the client
for each button go into the the object area: onFocus is best, so modify the “Run” to client, Javascript
paste following code into the field (here as an example button3)
if(this.form.radio3.checked != true )
this.form.radio1.checked = false;
this.form.radio2.checked = false;
this.form.radio3.checked = true;
}
You should now be able to use the radio buttons like you do it in html tables.
Cheers Holm