Portal Engine
Version 3.x > Portal Engine > Booking System View modes: 
User avatar
Member
Member
m00nstar- - 12/9/2008 4:56:21 PM
   
Booking System
Hi,

I have the booking system, and I want to add custom fields to the Registration form.

How do I do that?

Thank you,
Daleth.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/10/2008 3:55:02 AM
   
RE:Booking System
Hi,

Please visit our Knowledge base section and read this article - http://devnet.kentico.com/Knowledge-Base/Web-parts---Controls/Adding-custom-fields-into-RegistrationForm-web-par.aspx

Best Regards,
Juraj Ondrus

User avatar
Member
Member
m00nstar - 12/21/2008 11:03:00 PM
   
RE:Booking System
Hi Juraj,

Thanks for your help, but I have some questions.

I'm working on the *booking system* registration form. I've added in the new web part properties, like in the knowledge base article above.

But the next step doesn't really make sense, since I doubt that the attendee information is kept in the user table... I can't see anywhere else that makes that sense within the system tables, however.

Looking to add in new attendee properties into the booking system. Can you point me in the right direction?

Thank you,
Daleth.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 12/22/2008 4:53:31 AM
   
RE:Booking System
Hi Daleth,

you are right. The mentioned instruction works only for new users registration not for event attendees.

I would recommed you to modify the behavior of Event manager web part – add a custom fields to the form. Please see here for more details about modifying the code of standard web parts: http://www.kentico.com/docs/devguide/modifying_the_design_of_standa.htm

Then you could add new columns into the Events.Attendee table.

You could set their values with the help of our API – e.g. CMS.EventAttendeeInfo.SetStringValue(string ColumnName, string newValue) or CMS.EventAttendeeInfo.SetIntegerValue(string ColumnName, int newValue, bool allow Zero)
API Reference could be found here: http://devnet.kentico.com/downloads/kenticocms_api.zip

Best regards,
Helena Grulichova