I would like to define the value of a variable, lets call it 'infile' based on the value of a token selected via radio button.
Pseudocode:
If rbutton=yes then infile=inputfileA.csv
if rbutton=no then infile=inputfileB.csv
Any help appreciated.
Hi
check this
<form>
<label>radio</label>
<fieldset submitButton="false">
<input type="radio" token="infile">
<label>infile</label>
<choice value="inputfileA.csv">Yes</choice>
<choice value="inputfileB.csv">No</choice>
<prefix>infile="</prefix>
<suffix>"</suffix>
</input>
</fieldset>
</form>
Hi
check this
<form>
<label>radio</label>
<fieldset submitButton="false">
<input type="radio" token="infile">
<label>infile</label>
<choice value="inputfileA.csv">Yes</choice>
<choice value="inputfileB.csv">No</choice>
<prefix>infile="</prefix>
<suffix>"</suffix>
</input>
</fieldset>
</form>
That's exactly what I needed. Thanks