Adding a description to each field when submitting an event

  • ozwest
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 6 days ago #124178 by ozwest
Hello Tuan

I would like to explain to the user exactly what he needs to fill into each field when he submits an event. I tried to use ::after but the fields do not have specific values so this does not work.

Is there another way to do this?

Kind regards,

Petra

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

More
5 years 6 days ago #124181 by Tuan Pham Ngoc
Hi Petra

The easiest way would be customize submit event form code automatically to add the instruction you want for each field if needed

Depends on the kind of submit event form you are using (simple or default), you will need to modify code in these fields:

- components/com_eventbooking/themes/default/event/simple.php
- components/com_eventbooking/themes/default/event/form.php
- components/com_eventbooking/themes/default/event/form_discount_settings.php
- components/com_eventbooking/themes/default/event/form_fields.php
- components/com_eventbooking/themes/default/event/form_general.php
- form_group_rates.php
-components/com_eventbooking/themes/default/event/form_misc.php
....

Of course one the modification is done, you need to move the modified files to PATH_TO_TEMPLATE/html/com_eventbooking/event folder so that the change won't be lost when you update to future releases of the extension

Tuan

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

  • ozwest
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 11 months ago #124335 by ozwest
Thank you Tuan, I will endevour to do so.

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