# Customizing registration form for events

**URL:** <https://www.dolibarr.org/forum/t/customizing-registration-form-for-events/29839>\
**Category:** Other native modules\
**Created:** [January 14, 2025, 11:11am UTC](https://www.dolibarr.org/forum/t/customizing-registration-form-for-events/29839 "2025-01-14T11:11:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mindful](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/mindful/32/8196_2.png) [@mindful](https://www.dolibarr.org/forum/u/mindful)\
**Post date:** [January 14, 2025, 11:11am UTC](https://www.dolibarr.org/forum/t/customizing-registration-form-for-events/29839/1 "2025-01-14T11:11:58Z")

</div>

I have Dolibarr 20.0.3 on a Linux server.

I would like to edit the online form for participant registration for events:

- Omit company and company e-mail
- Add a note that the form must be filled out per participant, e.g. because there is a maximum number of participants. (If everyone brings an accompanying person, there will be 50 people).
- Set country to Switzerland by default

Does anyone have any helpful hints?

Thank you and have a nice evening.  
Martin Fischer

 ![2025-01-10-brave_400](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/1/1d6486a784a1c0d575258594d134f5fee44b3110.png)

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [January 14, 2025, 4:23pm UTC](https://www.dolibarr.org/forum/t/customizing-registration-form-for-events/29839/2 "2025-01-14T16:23:06Z")

</div>

I use a different form system to achieve that and then I feed the data into Dolibarr as regular proposals, orders and invoices. I do not (yet) use the event participant part of Dolibarr

---

<div class="post-metadata">

**Author:** ![pragmatech64](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/pragmatech64/32/2652_2.png) [@pragmatech64](https://www.dolibarr.org/forum/u/pragmatech64)\
**Post date:** [January 14, 2025, 4:44pm UTC](https://www.dolibarr.org/forum/t/customizing-registration-form-for-events/29839/3 "2025-01-14T16:44:58Z")

</div>

Hello @mindful,

you have to look into the following file :

/public/eventorganization/attendee\_new.php

it is the page that you are showing

Regards

---

<div class="post-metadata">

**Author:** ![mindful](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/mindful/32/8196_2.png) [@mindful](https://www.dolibarr.org/forum/u/mindful)\
**Post date:** [January 14, 2025, 4:52pm UTC](https://www.dolibarr.org/forum/t/customizing-registration-form-for-events/29839/4 "2025-01-14T16:52:05Z")

</div>

So you actually feed them manually to Dolibarr?

---

<div class="post-metadata">

**Author:** ![mindful](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/mindful/32/8196_2.png) [@mindful](https://www.dolibarr.org/forum/u/mindful)\
**Post date:** [January 14, 2025, 5:15pm UTC](https://www.dolibarr.org/forum/t/customizing-registration-form-for-events/29839/5 "2025-01-14T17:15:38Z")

</div>

Thanks. I finally found the file here: public\_html/doli/public/eventorganization/attendee\_new.php. But I dare touching it. There are just too many dependencies I can’t oversee.

Too bad, that there are no options to choose for the new\_attendee-form. I’ll probably do it also offline in an easier form and feed the data manually.

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [January 15, 2025, 4:58pm UTC](https://www.dolibarr.org/forum/t/customizing-registration-form-for-events/29839/6 "2025-01-15T16:58:27Z")

</div>

> [@mindful](#):
>
> So you actually feed them manually to Dolibarr?

No, I don’t do that, I use the API to let my form system feed the data into Dolibarr.

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [January 15, 2025, 5:00pm UTC](https://www.dolibarr.org/forum/t/customizing-registration-form-for-events/29839/7 "2025-01-15T17:00:14Z")

</div>

at some point I hope to use the API to fill in attendees, but I don’t think that can currently be done.
