Jump to:
| Project: | Dialog API |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi,
I'm trying to build a small module that prompts re-authentication to already authenticated users on form submit.
So basically I'm submitting my form on the page, which opens a form into modal with ctools_modal_form_wrapper.
So after a successful authentication, the original calling module should be submitted with the original data. I've tried preserving the form_id of the original form by copying it as a hidden field, but every time it is changed to the re-authentication form id.
I'm probably doing something fundamentally wrong since this is my first time using ctools modals.
Any tips?
Oh, and I'm using it with Dialog API, but it uses CTools Ajax so I assume this is a better place for this issue.
Comments
#1
I noticed my question was a bit confusing. Let me reword it (and switch to Dialog API issue queue):
How do I continue the Form submission process that initially fired the form-in-a-dialog?
Normally just returning true would do the trick but CTools totally hijacks the form process. I want to use Dialog as a validation tool. Any pointers or ideas would be appreciated?