Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
7 subscribers
Views
1229 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
What is the best to debug custom js in a form. A form is referencing js fil
foussenik
over 11 years ago
What is the best to debug custom js in a form.
A form is referencing js file via constant, but no action being fired after user selects a value from drop down box.
...
OriginalPostID-85509
OriginalPostID-85509
Discussion posts and replies are publicly visible
Parents
0
shelzle
over 11 years ago
I put an additional text field and a checkbox in the form. In the onclick event of the checkbox I put code to evaluate the text in the text field as javascript using the "eval" function. This way it is quite easy to check and debug JS directly in the form. As soon as it works the way I want, I copy the code and use it in the forms editor.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
shelzle
over 11 years ago
I put an additional text field and a checkbox in the form. In the onclick event of the checkbox I put code to evaluate the text in the text field as javascript using the "eval" function. This way it is quite easy to check and debug JS directly in the form. As soon as it works the way I want, I copy the code and use it in the forms editor.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data