Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

form in two columns 25 Feb 2014 13:33 #12250

Hi there

i have a form with lots of fields

about 50% of them relate to one subject matter and 50% another. In a previous version of the component i had the fields in 2 columns and the end user wants it like that still

how with j cook could i do that - is it possible without hacking ? or with minimal hacking ?

(ie for example instead of calling : $fieldSet = $this->form->getFieldset('resourceitem.form'); would it be possible to get a subset of the fields as oppose to all of them )


many thanks for suggestions
tnx

Please Log in or Create an account to join the conversation.

form in two columns 27 Feb 2014 13:34 #12257

no-one plz ?

Please Log in or Create an account to join the conversation.

form in two columns 02 Mar 2014 15:31 #12274

  • twev
  • twev's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 62
  • Thank you received: 15
In the Config tab select the 'Exploded' form style and all the fields will be separated so you will be able to arrange them any way (with a little coding).
The following user(s) said Thank You: admin, cliffordsean

Please Log in or Create an account to join the conversation.

Last edit: by twev.

form in two columns 02 Mar 2014 15:59 #12275

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Thanks Twev

But wait, I am gonna fix it.

If you should Exploded, then it is not the best because if you want to ad fields, then you need to change 2 files (template file, because exploded)
If you do not need exploded, don't use it.
Coding is now a piece of cake
The following user(s) said Thank You: cliffordsean

Please Log in or Create an account to join the conversation.

form in two columns 13 Oct 2014 11:44 #12700

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Both ways works correctly.
Ticket closed
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.112 seconds

The j-cook project is one of the best of its kind and it is nice that we all try to contribute in little ways to make life easy for each other.

vlemos (Forum)  

Get Started