Discussion:
DoinputForm!
(too old to reply)
g***@pop.com.br
2019-01-13 22:58:18 UTC
Permalink
Hi friends!

I need one InputForm with two data fields(real number) and one checkbox, when this checkbox is marked, the InputForm enable more two data fields.

Anyone help me???

Thanks!
o***@mindspring.com
2019-01-14 21:26:43 UTC
Permalink
Post by g***@pop.com.br
Hi friends!
I need one InputForm with two data fields(real number) and one checkbox, when this checkbox is marked, the InputForm enable more two data fields.
Anyone help me???
Thanks!
I suggest you re-think the interface a bit: go ahead and show all four fields, but either pre-fill the two optional ones with some special value and detect if they have been changed, or include your checkbox but label it something like "I want to enter extra values". I don't think you can change an input form based on what's entered into it. You could, however, also require an OK answer to the two-variable form (with checkbox checked or not) and then re-display a form with the entered values and space for the two additional values.
Loading...