Announcement

Collapse
No announcement yet.

Delete text from a text box on screen exit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Delete text from a text box on screen exit

    I am working with a CBT project that the operator has to enter sample data and when the page exits I would like that data removed so the field is blank the next time the page is open. Also, can I validate the data entered?

    Thanx

  • #2
    Re: Delete text from a text box on screen exit

    In whatever action or actions that you jump to a different page set the text to nothing:

    EditFieldObject[EditField1].SetText ("")

    As for validating the data, I'm not sure there is an automated way to do it. You could use another object Mouse Over or something along those lines to fire a validation script.

    Comment

    Working...
    X