User documentation

  1. Home
  2. User documentation
  3. Booking Activities (basics)
  4. Display a login / registration form

Display a login / registration form

In the booking form

At the same time as the reservation

You can embed a login / registration form inside your booking form. By default, the user will be logged in / registered as the booking is made, in a single click.

  • Go to Booking Activities > Booking forms
  • Select the desired booking form
  • If the booking form already has a “User data (login / registration)” field, you are all set. Else:
  • Click on “Add a field”, a dialog appears
  • Select it in the selectbox
  • Validate the dialog with “OK”

Don’t forget that you can configure the login form in the “User data (login / registration)” field settings ().

 

Before booking

You can also allow your customers to log in / register beforehands:

  • Go to Booking Activities > Booking forms
  • Select the desired booking form
  • Go to the “User data (login / registration)” field settings > “Login” tab
Display a button so your customer can log in / register before booking

If you display the login / registration form submit button, users will have the possibility to log in / register before booking.

If you turn ON the “Users must log in first” option, only the login / registration form will appear. The whole booking form will appear only once the user is logged in.

Your customers can log in / register first, and then resume their booking

 

Before seing the booking list

Use the [bookingactivities_list login_form="xx"] shortcode in order to display a login / registration form if the customer is not logged in. xx corresponds to the booking form ID from which the login form will be taken. This booking form must therefore have a “User data (login / registration)” field.

Display a login / registration form alone

For example: [bookingactivities_list login_form="5"] will display the login / registration form used in the booking form #5 if the user is not logged in. If he is, it will display the user booking list.

 

With a shortcode

The [bookingactivities_login form="xx"] shortcode displays the login / registration form of the booking form #xx. Go to Booking Activities > Booking forms > your booking form > and click on the “code” icon () in the “User data (login / registration)” field header to get the shortcode.

Display a login form alone with a shortcode
Was this article helpful to you? Yes 2 No

How can we help?