function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mnapolimnapoli 

Can't get values from within jQuery modals

So I have a VisualForce page that utilizes a jQuery modal to display questions to the user. The questions are populated using a repeater that references a list of an custom class that I created in my controller. The answers that they enter are tied to properties on the custom class that the repeater is referencing. Now if I take code out of the modal and just make it show all the time everything works like a charm. However as soon as I place the code back within the jQuery controlled modal div I lose the ability to see values they entered in the form in the controller. In other words, when they submit the form within the popup and it fires off the Ajax call to the controller to process the input all the values are null. If I remove the form from the popup and they submit all the values are there. The only other info that may be pertinent to my issue is that I am using multiple forms on the page. However the issue seems to occur whether it is in its own form or in the main page form.