I thought field rules were always monitoring but I am finding that if the value of a field required for a field rule is set by javascript, the field rules monitor does not see it. How do you re-initiate the field rules update?
Question
Question
Forms - Initiate Field Rules update with Javascript
Answer
Hi Chad,
You just need to add ".trigger('change')" to your line of javascript setting the field value.
For example:
$(document).ready(function() { $('#Field1').val('Something').trigger('change'); });
That helps in so many ways! Thank you!
is there a notification for Trigger("Change") that can be activated in Forms process? in my console... it shows a get request status of 500 and returns Notification have been disabled. I think this has to do with the email notification that i didnt set up set up yet.
Im curious if Trigger("change") will create a notification to the "User assigned to task" or "Initiator of BP" in addition to the initial email notification when forms gets created and assigns it to a user and that user gets that email.
The Trigger('change') method only lets the browser know that a field was changed (which also happens when the user manually changes a field value).
Sending emails would be done in the process modeler