I'm looking for a way to "expand" an accordion with special questions IF.
So, the main idea should be, I have a question A, if user answer YES (drop down question type), it open/expand the accordion named "accordion example" with questions B C and D, for example.
And, the problem is : how can I do it without rendered the form, it is a "change" js code or something ?
You can also open or close accordion tabs in fd.spSendered(), but field values would be inaccessible. If you absolutely have to change the accordion before the form is rendered, try getting the field value from the list with PnP.