Display a custom field only for a category?

  • Robert Gastaud
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 6 months ago - 1 year 6 months ago #161202 by Robert Gastaud
Display a custom field only for a category? was created by Robert Gastaud
Hi,

I'm trying to duplicate for a client an event form to create two events types.
The actual event sample we are using to create the future events has a radio custom field with some options.
The events are actually in a "cat1" category. I created a "cat2" category for the new event type.
We would like to separate some of the options and offer two types of event, each with its own options, but the custom field can't be applied to only one category.

How could I use one radio custom field for the "cat1" and another one for the "cat2"?

Thank for your advice.
Best regards,
Robert

PS: same question for the other custom fields types.
Last edit: 1 year 6 months ago by Robert Gastaud.

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

  • Robert Gastaud
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 6 months ago #161203 by Robert Gastaud
Replied by Robert Gastaud on topic Display a custom field only for a category?
In the custom fieds settings, I don't find a choice for category, only for field assignmenr, as it's said in the documentation: eventbookingdoc.joomservices.com/basic-s...om-fields-assignment
Attachments:

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

More
1 year 6 months ago #161222 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Display a custom field only for a category?
Hi Robert

Go to Events Booking -> Configuration, set Custom Fields Assignment config option to Only Categories (or Both) and you should be able to assign custom fields to categories

Regards,

Tuan

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

  • Robert Gastaud
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 6 months ago #161226 by Robert Gastaud
Replied by Robert Gastaud on topic Display a custom field only for a category?
Thanks Tuan,

I didn't see this setting. :(
There are so many!

Best regards,
Robert

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

More
1 year 6 months ago #161227 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Display a custom field only for a category?
Yes, there are so many settings. It makes the extension flexible but sometime, it's quite hard to find the right setting, unfortunately. It's the cost of flexible :)

Tuan

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

  • Robert Gastaud
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 6 months ago #161249 by Robert Gastaud
Replied by Robert Gastaud on topic Display a custom field only for a category?
Thank you Tuan!
You're so right!

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

More
1 year 6 months ago #161259 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Display a custom field only for a category?
Have a nice weekend, Robert :)

Tuan

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

  • Robert Gastaud
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 6 months ago #161262 by Robert Gastaud
Replied by Robert Gastaud on topic Display a custom field only for a category?
Thanks Tuan,

Have a nice weekend, too!

Robert
The following user(s) said Thank You: Tuan Pham Ngoc

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

Moderators: Tuan Pham Ngoc