AnsweredAssumed Answered

setting focus to a field on a portal row after a Show Custom Dialog

Question asked by contactmip on Jul 21, 2015
Latest reply on Jul 22, 2015 by contactmip

Hi guys,

 

How should I properly set focus to a field on a portal row after a Show Custom Dialog [ ]?

 

I need to set an alert depending on the user entry.

  1. On a OnObjectValidate scriptTrigger I test the value entered
  2. if not okay
  3. Alert "not ok man!"
  4. then erase data input SetField [ myfield; ""]
  5. then I try to go back to the field with focus (blinking cursor) with Go Field [ myfield ]. But it has no blinking cursor to visually help the user. I have deselected the Go to next object Enter or Entry options of the field not to validate the portal row when giving focus (this is quite surprising by the way)

 

Thanks for your help!!!!

 

Mike

Outcomes