Hello,
In my form I have an images say img1.I want to display
img1 after 5 seconds of clicking a button present in my form.
Is there any way to solve my problem.
Thanks ,
Deb
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Deb,
You can use the app.setTimeOut() function to delay the presence change. For example in the click event of the button:
app.setTimeOut('xfa.resolveNode("xfa.form.form1.page1.Img1").presence = "visible";', 5000);
If you want to carry out a different operation, such as set rawValue, you would just need to amend the script. See an example here: https://acrobat.com/#d=5dv7lpeqEVtr1BJCUh6YHw.
Hope that helps,
Niall
Views
Replies
Total Likes
Hi Deb,
You can use the app.setTimeOut() function to delay the presence change. For example in the click event of the button:
app.setTimeOut('xfa.resolveNode("xfa.form.form1.page1.Img1").presence = "visible";', 5000);
If you want to carry out a different operation, such as set rawValue, you would just need to amend the script. See an example here: https://acrobat.com/#d=5dv7lpeqEVtr1BJCUh6YHw.
Hope that helps,
Niall
Views
Replies
Total Likes
Thanks a lot Mr. Niall
Views
Replies
Total Likes
Views
Likes
Replies