Download & Extend

How to continue the initial form process

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

Title:Submit calling form after modal form submit» How to continue the initial form process
Project:Chaos tool suite (ctools)» Dialog API
Version:6.x-1.8» 6.x-1.x-dev

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?

nobody click here