Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

How to set Time Delay in a loop in LiveCycle

Avatar

Level 9

Hi All ,

I am trying to do some sorts of animation in LiveCycle. My requirement is that : there will be a text field ,  the user will enter his / her name in the textfield. There will be a button . If the user clicks the button then the individual character of the name will be displayed after some time interval one by one and some color and the size of the charater will be changed . I guess i have to write a loop for this . But my problem is that I am unable to set a time delay for it . I have tried to use setInterval() , but it throws some error . Is there any better way to write it .

Thanks.

Bibhu .

2 Replies

Avatar

Level 10

Hi Bibhu,

Steve Walker has some great example of timers:  http://forums.adobe.com/message/2488481#2488481

Also Stefan Cameron's blog has an example: http://forms.stefcameron.com/2006/08/15/invalid-flashing-fields-20/

Hope that helps,

N.

Avatar

Level 9

Thanks Niall ,

The link you have posted is quite informative. But I am unable to perform the required action . I wrote the script . But there is neither any error nor any result . What should i do ?

Thanks.

Bibhu.