Jump to content

How to put an iframe within function initform() fieldset?


Recommended Posts

Hi there guys. Happy coding.


In my module development, i have done my 1st field for inputs. Then i made a 2nd field which i don't need to put any input elements there but to put an iframe (let's say from facebook like box).




So i need help in developing this code.. within private function initForm(){ ....


$this->fields_form[1]['form'] = array(

'tinymce' => true,

'legend' => array(

'title' => $this->displayName,

'image' => $this->_path.'logo.gif'



(yeah.. I stuck here on how to put the iframe code to work)



in the form helper document - i couldn't find anything about iframe. It's all about input elements.



Appreciate if you guys could guide or hint me?

Link to comment
Share on other sites

Yes it seems right that helper forms don't helps in iframes.

Perhaps you can try adding it as content later as a value?

Okay, can give me an example on how to do this? Just a simple example in coding perhaps. Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...