Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

evreny69628048
Community profile evreny69628048 Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 29-02-2016 6:53:20 AM
Offline
Top badges earned by evreny69628048
Customize the badges you want to showcase on your profile
Re: How to make a javascript function execute in the order I write it
Avatar
Give Back
Level 1
evreny69628048
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
evreny69628048
- Adobe LiveCycle
textfield1 is read only by default. By pressing the button, user should reset the whole form and only then would enter data in textfield1. On the other hand after pressing the button, form data and structure resets but textfield1 remains read only. Row3 can not create any change. textfield1 should become open but it remains read only. I think its because of the asynchronous nature of java code. Row3 do its job in the first place. But all three lines run at the same time and because of this, Row2...

Views

173

Likes

0

Replies

0
Re: How to make a javascript function execute in the order I write it
Avatar
Give Back
Level 1
evreny69628048
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
evreny69628048
- Adobe LiveCycle
OK, is there a way to run remerge for only a limited section of the form? For example remerge all form but TextField1.

Views

171

Likes

0

Replies

0
How to make a javascript function execute in the order I write it
Avatar
Give Back
Level 1
evreny69628048
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
evreny69628048
- Adobe LiveCycle
I have a function in the click event of a button:xfa.host.resetData ();xfa.form.remerge ();textfield1.access = "open" Row1 and row2 works but row3 does not because I understand java is working in an asynchronous state. All rows run at the same time but remerge takes more time and it ends last. So in the very end, it makes textfield1 to its default state, read only.How can I make these three rows execute in the order I write them? How can I make row3 waits to run until row2 ends?

Views

635

Likes

0

Replies

6
How to reset an entire form if a text field changes
Avatar
Give Back
Level 1
evreny69628048
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
evreny69628048
- Adobe LiveCycle
Hi,I have a fillable and very long form designed in livecycle.What I want is, if a user changes a certain field (lets say it Field 1);1- All other fields values should become blank.2- All fields on the form which are hidden in default but made visible by some actions of the user, to become hidden again.I found a way doing this in Field 1's change event with this code:xfa.host.resetData();xfa.form.remerge();This actually works. After changing Field 1, all other fields contents are erased and the ...

Views

232

Likes

0

Replies

0