Romeo Casimina 3 Posted August 1, 2019 Share Posted August 1, 2019 Hi Gurus, I have a form where I allow user to select value from drop down and based on the selected drop down, it will fetch some values that I need to present on the same form. How I did this is upon selection, I invoke the submit form (using invokeAction)which will then call a service task in my process to get the value and return to the same form. However, the issue that I am facing is that submit tries to validate the form which in return will be false as the other fields on my form has not been populated yet and will only be populated once the service has executed which is not happening. Not sure if there is a way for me to disable the validation until user really click the submit button. Link to comment Share on other sites More sharing options...
Adrian Price Posted August 5, 2019 Share Posted August 5, 2019 miotot,there is no provision for temporarily disabling validations - the data are always validated upon submission to the server during pageflow execution. You could hold the unvalidated, interim data in temporary fields which aren't subject to these constraints. Once you've assembled all the data you can copy them to their final, validated destinations. Cheers, --A Link to comment Share on other sites More sharing options...
Ketaki Anilkumar Lolage Posted October 16, 2019 Share Posted October 16, 2019 A) You could make a pageflow with the first form (without validations) where the user selects from the drop-down, a service task, and then the same form (with validations). B) If your data is not too large, you could call the service before the user task. You could then filter the data you want to show based on the user selection. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now