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
19 replies
Subscribers
8 subscribers
Views
5950 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
What is wrong with following event ajax call ffrom form on chanhe od date field
natasav
over 12 years ago
What is wrong with following event ajax call ffrom form on chanhe od date field ?
window.FormAPI.evaluateServerSideExpression(function(fn){
window.FormAPI.setValue("number41",fn);
},"=calworkdays(FormAPI.getValue("date1").id, FormAPI.getValue("date2").id])");
OriginalPostID-23033
OriginalPostID-23033
Discussion posts and replies are publicly visible
Parents
0
natasav
over 12 years ago
Hi Eduardo,
you only add rules at load and on change on date2. I have copy your JS function in my environment and no meter what date I select count duration is always 1. Should I do something else maybe I need to add more JS rules on the form.
And it need to be trigger on any change of From Date and To Date even the first one from nothing to date.
Best Regards, Natasa
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
natasav
over 12 years ago
Hi Eduardo,
you only add rules at load and on change on date2. I have copy your JS function in my environment and no meter what date I select count duration is always 1. Should I do something else maybe I need to add more JS rules on the form.
And it need to be trigger on any change of From Date and To Date even the first one from nothing to date.
Best Regards, Natasa
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data