Skip to main content
Inspiring
February 22, 2010
Question

Clear Text Entry Box

  • February 22, 2010
  • 1 reply
  • 1687 views

Using "Action Dialog," I wrote a javascript for a button, which on successful login would go to the 1st slide; on wrong entry it would go to the 2nd slide and returns to the login page. Now, on return I want to clear the two text entry boxes.

Please suggest, how I could clear the contents in the text entry boxes.

This topic has been closed for replies.

1 reply

Lilybiri
Legend
February 22, 2010

Sorry, could do this in CP itself, but cannot help you with JS.

Lilybiri

Captiv8r
Legend
February 22, 2010

Hi there

Unfortunately there is no method I'm aware of to clear a Text Entry Box. What you will need to do is to ensure the option "Retain Text" is cleared for the Text Entry Box. Then restart the slide by either repositioning the playhead or by jumping to the previous slide as the action so the playhead advances back into the slide.

As Lilybiri said, this is probably easily done with Captivate all by itself. Not sure why you feel the need to use JavaScript.

Cheers... Rick

Helpful and Handy Links

Captivate Wish Form/Bug Reporting Form

Adobe Certified Captivate Training

SorcerStone Blog

Captivate eBooks

tosujoyAuthor
Inspiring
February 23, 2010

Thanks,

I am able to clear the Text Entry Box by clearing Retain Text checkbox. When I come back to my login page again text entries are removed.