I have a form that was created using Webform 7.x-4.0-rc3. The completed form submits successfully, form values are stored correctly, notification emails are generated, and the confirmation page is displayed.
I want to ensure that only CAS-authenticated users can access this form. With CAS 7.x-1.4 installed on my site, I've updated the CAS configuration and added the form page's URL to the "Require CAS login for specific pages" list. Redirection to CAS and CAS authentication work as expected.
However, the completed form will not submit for a CAS-authenticated user. By dumping $form_state during the execution of drupal_build_form(), I can see that after the user completes the form and submits, $form_state contains none of the values of the completed form and drupal_build_form() treats it as a newly loaded form.
Somehow the interaction with the CAS server when the authenticated user submits is causing the form to be reinitialized, but I don't know where/how.
Anyone have suggestions for how to attack this? Thanks in advance....