Closed (works as designed)
Project:
Popup
Version:
6.x-3.22
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2011 at 15:04 UTC
Updated:
29 Oct 2013 at 20:58 UTC
Hi,
I don't know how to create a Popup programatically.
I have a form and I need to create text with a link that popup some text.
I've tried to use the next code:
$form['my_text'] = array(
'#title' => 'My field',
'#type' => 'textfield',
'#description' => popup_filter_process_tag('[popup title="Help" text="This is just a text field"]')
);
but the next error is shown...
Fatal error: Call to undefined function popup_filter_process_tag() in ../sites/all/modules/form_contacto/form_contacto.module on line 103
Thanks,
Sandra
Comments
Comment #1
sethfreach commentedtry using popup_filter_process_text()
Comment #2
sand_ru commentedThe same error:
Fatal error: Call to undefined function popup_filter_process_text() in ../sites/all/modules/form_contacto/form_contacto.module on line 103
I have to install the module and use it in my module or I have to put some code in the module?
Thanks!
Comment #3
AlexanderPop commentedtry (with latest build)
Comment #4
Scheepers de Bruin commented