Force User to Provide Input Within Range
Hi, I'm fairly new to JMP and I'm not sure how to write a script that throws an error to prevent the user from inputting an invalid number. I want the user to input a number that is eventually saved into a variable but re-prompt for input if the number is outside the range 1-4. This is what I have so far without any error checking: Names Default To Here (1);
num = 0;
w = New Window( "Prompt",
<<
...