• DoinputForm!

    From gutem_r@pop.com.br@21:1/5 to All on Sun Jan 13 14:58:18 2019
    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!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From opticsmith@mindspring.com@21:1/5 to gut...@pop.com.br on Mon Jan 14 13:26:43 2019
    On Sunday, January 13, 2019 at 5:58:19 PM UTC-5, gut...@pop.com.br wrote:
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)