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

TOPIC: Show/Hide Fields in front-end form.

Show/Hide Fields in front-end form. 14 Oct 2012 20:36 #4497

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
@audibleid : Thank you so much for your contribution. K++
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: JoomGuy

Show/Hide Fields in front-end form. 14 Oct 2012 20:46 #4499

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
OK, here's a real, but quick solution - not the safest but, in your XML, leave required set to off in any of the fields you want to switch on/off.

For any of these fields, set them to be required in JQuery by adding the class as previous post.

Yes, Just a happy little Jnr. cook/pot-washer-up! ;)

If you have loads of these fields, you might consider later spreading the data across multiple tables. It'll make your data model a lot leaner and normalised. Obviously, something you can look into once it all starts to evolve...

Hope it helps,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Show/Hide Fields in front-end form. 15 Oct 2012 06:08 #4517

  • goslingcools
  • goslingcools's Avatar
  • Offline
  • Senior Member
  • Posts: 64
  • Thank you received: 7
  • Karma: 1
Thanks,

I will put my code here when I have something usefull :-)

Gosling
The administrator has disabled public write access.
The following user(s) said Thank You: JoomGuy

Show/Hide Fields in front-end form. 15 Oct 2012 06:52 #4522

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Thanks!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Show/Hide Fields in front-end form. 15 Oct 2012 07:17 #4523

  • goslingcools
  • goslingcools's Avatar
  • Offline
  • Senior Member
  • Posts: 64
  • Thank you received: 7
  • Karma: 1
Btw. I'm working with Component Creator
too. For some time already.

But they don't offfer front-end editing completely yet.

They do however work with the state field instead of the publish field. And some more core Joomla fields like categories and media.

But for front-end editing I need the Cooking Creator ;)

Cheers,

GC
The administrator has disabled public write access.

Show/Hide Fields in front-end form. 15 Oct 2012 07:29 #4524

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
I also tried their service... In fact, I took subscriptions out on the 2 side-by-side originally.

Yes, you're right - they do offer front-end editing and the other fields but front-end editing is limited. Also, they are seriously lacking in a number of areas in comparison to COOK...
  1. No Sandbox
  2. No Forum/Community
  3. No builder - well, layout/interface designer
It is also about 3 times the price and about a third of the pace in development.

BTW, COOK does offer media uploader - it's the image type field. this can be switched on your layout to be an uploader/media browser

It also handles publishing (on/off) with the other states coming soon. Also, I understand that the nested tables is on the roadmap too... This can be achieved anyway. I'm trying to do this right now in fact, with the help of a post by @admin (there's the befit of the community, right there - sharing!).

Don't get me wrong, I liked NWD JCC, I just don't think it compares to the wealth of other utensils we have in the cook kitchen.

Best wishes,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Show/Hide Fields in front-end form. 15 Oct 2012 07:42 #4525

  • goslingcools
  • goslingcools's Avatar
  • Offline
  • Senior Member
  • Posts: 64
  • Thank you received: 7
  • Karma: 1
OK, good the hear!

I'm just exploring Cook and comparing some stuff too since I used the other component up till now.

Yep the media uploader at the front-end is very nice. Because you don't want a media modal box for that at your front-end.

With the nested stuff you mean something like the Joomla categories and subcategories?
That would be great if Cook can do that too. And not only a Joomla Category but with Cook tables, so you can add multiple fields to these 'Cook categories'. Instead of just a category title and category description.

So far I'm very happy with Cook! :-)

Gosling
The administrator has disabled public write access.

Show/Hide Fields in front-end form. 15 Oct 2012 07:51 #4527

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Yep, that's what I meant:
Item 1
-sub item 1
-sub item 2
Item 2
Item 3
-sub item 3
--sub sub item1

etc. etc. As I said, it's on the roadmap (don't know when) but, you could see this post about how to do it manually for the time being.

Good to hear your happy!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
The following user(s) said Thank You: admin

Show/Hide Fields in front-end form. 19 Oct 2012 08:31 #4664

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi GC,

Did you manage to get this working by removing the required attribute as suggested?

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Show/Hide Fields in front-end form. 19 Oct 2012 08:41 #4666

  • goslingcools
  • goslingcools's Avatar
  • Offline
  • Senior Member
  • Posts: 64
  • Thank you received: 7
  • Karma: 1
Did not get into that yet. Thanks for asking.
The administrator has disabled public write access.

Show/Hide Fields in front-end form. 24 Oct 2012 07:58 #4709

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hope it works out and would be great to know if it works.

Look forward to hearing your progress!

Best wishes,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.140 seconds

Get Started