Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] form in two columns

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

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
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
The administrator has disabled public write access.

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

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
no-one plz ?
The administrator has disabled public write access.

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

  • twev
  • twev's Avatar
  • Offline
  • Senior Member
  • Posts: 62
  • Thank you received: 15
  • Karma: 6
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).
Last Edit: 02 Mar 2014 15:33 by twev.
The administrator has disabled public write access.
The following user(s) said Thank You: admin, cliffordsean

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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 administrator has disabled public write access.
The following user(s) said Thank You: cliffordsean

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Both ways works correctly.
Ticket closed
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.067 seconds

Get Started