In your script, add the commands
if V[my_cursor_fieldname]
SetCursor "&V[my_cursor_fieldname]"
Set V[my_cursor] ""
endif
after all InputFields.
In the InputScript put the InputField label, enclosed by square brackets,
into the variable V[my_cursor]:
if V[VA_days>21]
set V[my_cursor_fieldname] "F[Days]"
Return "E: Number of days must
between 1 and 21" -statusline
endif
|