Jeremy Posted October 3, 2019 Posted October 3, 2019 We have a PCF where if you choose a specific answer to a question we ask them to upload attachments, but at the bottom of the PCF, when completing the form the Submit button says Next regardless if you have chosen the answer. The system sees that there is potentially another step/page so shows the button as Next rather than Submit, can this be added as a development request?
Miro Posted October 3, 2019 Posted October 3, 2019 hi @Jeremy, I did same flow as yours but getting results as expected. So let see step by step what is happen here: 1) in custom form you set variable to decide later to add or not a file, here next node is BRANCH which cause that we have no idea which way it will go so NEXT (1) button is displayed, 2) you press NEXT - form data are saved and now as we have all data we can run BRANCH, 3) if branch is not matching any expression then is going (in that case) to END, 4) if "add" is matching then is opening file attachments form and showing buttons - here as next node is obvious we are seeing FINISH (2) button Is the result exactly the same as you are getting or different? Thank you, Miro
Jeremy Posted October 3, 2019 Author Posted October 3, 2019 @Miro yes we are seeing the same as you, we would assume that the form should display Finish until the choice for going down the branch is chosen? (as logically there is nothing else to do until that choice is picked)
Miro Posted October 3, 2019 Posted October 3, 2019 @Jeremy unfortunatelly it's not possible until data from form are being known. Evaluation can be done only when user click next button which update data and then run branch node. However there is some work planned in that area so hopefuly this will be improved. Anyway this is how current implementation is working. Thank you, Miro
Jeremy Posted October 3, 2019 Author Posted October 3, 2019 Ok thanks for the update, I will look forward to hearing about the planned changes!
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