Page 1 of 1

setting autohilite or focusborder for fields

Posted: Tue Oct 13, 2009 2:23 pm
by reelstuff
I am trying to set either the autolite or the focusborder,

not sure which is correct, when I user may forget to enter required data,

sort of like validation in javascript,

Code: Select all

  answer "You must enter the password, that was given to you number 0-10 letters, lower and upper case"
   set the autohilite of fld "pw" to true
   set the focus of fld "pw" to true
   exit to top

Posted: Tue Oct 13, 2009 2:30 pm
by Klaus
Hi reelstuff,

maybe simply

...
select text of fld "pw"
...

does the job? :-)


Best

Klaus

Posted: Wed Oct 14, 2009 11:24 am
by reelstuff
Klaus wrote:Hi reelstuff,

maybe simply

...
select text of fld "pw"
...

does the job? :-)


Best

Klaus
Thank you Klaus, yes it even works when no text has been entered into the fld, very nice,