Closed (fixed)
Project:
Greybox
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2008 at 16:51 UTC
Updated:
18 Dec 2008 at 08:01 UTC
I'd like to get greybox to display a form programmatically, when using drupal forms for a remote action i.e.
.....
$form['#action'] = 'https://a.remote.site ';
....
I have tried various ways to make this work but no success... e.g. adding prefix & suffix tags, ussing target="greybox", etc
'#prefix' => '
',
Please do you have any ideas on how to do this?
Comments
Comment #1
Gurpartap Singh commentedCreate your form at some drupal path and open that drupal path in greybox. Greybox can only open a webpages/links and has nothing to do with form integration, etc.
Comment #2
Gurpartap Singh commentedI get your point now, upon a re-read.
If the form is using GET method, you can compile the url on submit and fire the GB_show(caption, url) function. See greybox.js for reference.