created a form (not adaptive) in 6.2 classic.
create a radio and text field and had a rule in radio to show or hide text field based on radio options using show/hide edit rules.
But doesnt seem to work.
Is there any other thing to be done in order to make this work?
Thank you,
Views
Replies
Total Likes
Moving this to AEM Forms Topic!! Checking Internally!
Views
Replies
Total Likes
kautuksahni Looks like user created a form (not adaptive). Please move this to sites team so that it can be addressed.
Views
Replies
Total Likes
If you are using sites form - have you tried creating your own form components and adding logic to make it function the way you want? Using JQuery and CSS - you can make this work -- javascript - Hide/Show Form Fields with CSS and jQuery - Stack Overflow
Views
Replies
Total Likes
But why is the OOTB edit rules not working ?
The console is throwing errors with abacus scripts.
TypeError: $(...).abacusLink is not a function
Is there any problems with abacus modules. If I add the validation scripts, the abacus modules fail stating the above error.
I believe the jquery is called twice. Just want to understand if there has been any patches related to forms specially for abacus errors
Views
Replies
Total Likes
Can you place the code snippet of the issue and the error message. I am currently debugging an issue where show/hide is removing the form elements since I change the default DOM structure
Views
Replies
Total Likes
I remember a bug in some version (not sure of the version number though), where if you make the radio button/check box as mandatory then all the rules used to stop working, it was fixed with an incremental release.
Can you please confirm, if you can reproduce the bug. I mean if this thing does not work only if radio is mandatory, in that case, I can help you find the bug fix (incremental release) for this issue.
Cheers,
Jagjeet Singh
Views
Replies
Total Likes
Hi jagjeetthukral
I tried creating two text fields and applied rules. It doesn't work on them as well.
Views
Replies
Total Likes
hey, I just realised that you have written its non adaptive form, what kind of form is it then?
Views
Replies
Total Likes
its OOTB form component provided by CQ.
1. if validation is present the form it is not previewed in edit mode or in publish instance. How ever if there is no validation then I am able to preview the form.
2. I get errors in abacuslink function and that is where the validation is failing.
Views
Replies
Total Likes
Views
Likes
Replies