Facing issue related to guidedropdownlist. | Community
Skip to main content
Level 3
October 8, 2021
Solved

Facing issue related to guidedropdownlist.

  • October 8, 2021
  • 2 replies
  • 962 views

I am using guide drop down list in AEM adaptive forms and it is working fine in general but when I pass the query parameter in URL for the value of same field, the form opens & it selects that option in the dropdown which we have passed in query parameter in UI but if I click on submit to submit the form data, it shows an error msg which I have entered in "Required Field Message".

 

As per my understanding while using query parameter guide drop down list is not able to select the option provided in query parameter as value in backend.

 

I tried several things but not able to resolve this issue, Kindly let me know if you can help.

Views

 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mayank_Tiwari

@uniqvaibhav you may first store the value in a hidden text field on the form load, and then set the same value in the dropdown using rule editor. 

2 replies

Mayank_Tiwari
Adobe Employee
Mayank_TiwariAdobe EmployeeAccepted solution
Adobe Employee
October 8, 2021

@uniqvaibhav you may first store the value in a hidden text field on the form load, and then set the same value in the dropdown using rule editor. 

Mayank_Gandhi
Adobe Employee
Adobe Employee
October 14, 2021

@uniqvaibhav How are you setting the value?

Level 3
October 19, 2021

@mayank_gandhi currently I am just using visual editor to set the values but it was not working, I am very new to forms and not done much till now. Can you provide me any example how can I do those changes?

 

I can see the values changing based on query parameter but after clicking on submit it shows me error like dropdown is empty but it has value.