When using Initial SQl Rendering/Bind the question events I've used to show certain fields do not seem to be applied.
I have seen this question in the forums a few times but none of the suggestions are working for me. There have also been new versions released since the last post so I don't know if the responses are still valid. I'm using DynamicForms 3.0.31 on DNN 5.1.4.
My form has several fields hidden until forced visible by a question event. Question events attached to a combo box are used to show the fields based on the value selected. This all works fine during the initial entry. If I use the built in function to view form results and click on the Edit link, the form opens fine and the correct fields are shown based on the values that were saved.
However they do not work when I use SQL Binding. I have followed demonstration #14 to save and load data from an external table. This all works fine, except that the question events are not fired and fields that should be visible are not. The form loads and the correct values are shown from the external table. The combo box shows the value that should trigger the event, but the fields are still hidden. If I temporarily change the combo box value and then change it back to the actual value, the fields are shown and the values from SQL are loaded correctly.
Why are the question events applied when using the built in edit function but not when using SQL Rendering/Bind? I'm sure I missed something but I don't know what step to take next. I tried using the hidden field as suggested in previous posts but that didn't seem to help.
Any suggestions would be appreciated.
-Robert