Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customising the form. #30

Open
wisdom-17 opened this issue Jul 22, 2013 · 5 comments
Open

Customising the form. #30

wisdom-17 opened this issue Jul 22, 2013 · 5 comments

Comments

@wisdom-17
Copy link

Hi,

I'm struggling to customise the form. I don't want the submit button for my form to appear in a .form-actions div.
It doesn't seem to me that this is customisable.

Also when I changed the form attribute to 'inline' - the form did not render correctly.

@ravidhu
Copy link
Contributor

ravidhu commented Jul 22, 2013

Hello,

Add your elements in a display group, you will be able to specify a class like that.

can you show us a screenshot of your form with inline mode, please ?

@wisdom-17
Copy link
Author

Hi ravid87,

Thanks for your quick reply! How do I add elements in a display group? Apologies but I couldn't figure this out.

@webserviceos
Copy link

Hi,
I am new zend framework, I have download above package and extract and upload my local machine. How I run this from in my browser, I gave below url in my website. Getting object not found error.

Anybody help me on this regards, or send the good documentation URL.

http://localhost/projects/test

Thanks, Sakthi

@ravidhu
Copy link
Contributor

ravidhu commented Jul 31, 2013

@wisdom-17
hello,

you can do that in your form class:

$this->addDisplayGroup(array( 
    //name of each zend form element 
),'nameOfTheDisplayGroup',array('legend' => 'contentOfLegend'));

@ravidhu
Copy link
Contributor

ravidhu commented Jul 31, 2013

@webserviceos
hello,

in your file where you put your form class :

class Default_Form_Client extends Zend_Form

change that :

class Default_Form_Client extends Twitter_Form

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants