Replies: 2 comments 1 reply
-
Hello @Antonytm |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is this feature(conditions in sitecore forms) available in the latest sitecore-jss package and work with next js app? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Support of conditions for sitecore-jss-react-forms.
We want to have a form with a radio button at the end of the form. Depending on the selected value in this field, we want either show
submit form
button ornext page
button. You are able to add conditions to multipage Sitecore Forms using the Sitecore Forms wizard. You get these conditions in the Layout Service JSON. But they are ignored.Following documentation,
(It means that probably it was never planned that this part should work)
Describe the solution you'd like
I understand that it could be a big task to implement all conditions that are possible to configure on the Sitecore Forms interface. That is why it would be nice to have a pluggable architecture for conditions. It will allow the implementation of conditions that you need by yourself and further upgrade of
sitecore-jss-forms
andsitecore-jss-react-forms
NPM packages with no issues. Otherwise, during each upgrade, we will need to look at what was changed insidesitecore-jss-forms
andsitecore-jss-react-forms
and match this functionality on our side(or ignore it, but we can miss something important in this case)Describe alternatives you've considered
Beta Was this translation helpful? Give feedback.
All reactions