WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Reservation form change (7 posts)

  1. runescom
    Member
    Posted 2 years ago #

    Hello,

    Is there a possibility to adjust the registration form?

    So a number of things to add such as: company name, address and postcode?

    If so, where can I do this in the file because I could nowhere be found.

    Thank you so much!

    Ben

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    Yes, please see the template file at templates/forms/bookingform/booking-fields.php

    http://wp-events-plugin.com/documentation/using-template-files/

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    fyi, our pro version comes with a form editor, so you can easily add and remove fields on there.

  4. runescom
    Member
    Posted 2 years ago #

    Thanks, I'll quickly look at it!

  5. runescom
    Member
    Posted 2 years ago #

    Is there a possibility to expand the contact form, and then also send us an email with the information (company, address, zip code) to a mail address?

  6. runescom
    Member
    Posted 2 years ago #

    I now have an extra field in the database created with booking_adres, but when I add line in the registration form, then there is nothing in that field .. maybe someone knows why?

    <?php
    /*
    * This file generates the default booking form fields. Events Manager Pro does not use this file.
    */
    /* @var $EM_Event EM_Event */
    //Here we have extra information required for the booking.
    ?>
    <?php if( !is_user_logged_in() && apply_filters('em_booking_form_show_register_form',true) ): ?>
    <?php //User can book an event without registering, a username will be created for them based on their email and a random password will be created. ?>
    <input type="hidden" name="register_user" value="1" />
    <p>
    <label for='user_name'><?php _e('Name','dbem') ?></label>
    <input type="text" name="user_name" id="user_name" class="input" <?php if(!empty($_REQUEST['user_name'])) echo "value='{$_REQUEST['user_name']}'"; ?> />
    </p>
    <p>
    <label for='dbem_phone'><?php _e('Phone','dbem') ?></label>
    <input type="text" name="dbem_phone" id="dbem_phone" class="input" <?php if(!empty($_REQUEST['dbem_phone'])) echo "value='{$_REQUEST['dbem_phone']}'"; ?> />
    </p>
    <p>
    <label for='user_email'><?php _e('E-mail','dbem') ?></label>
    <input type="text" name="user_email" id="user_email" class="input" <?php if(!empty($_REQUEST['user_email'])) echo "value='{$_REQUEST['user_email']}'"; ?> />
    </p>

    <?php do_action('register_form'); //careful if making an add-on, this will only be used if you're not using custom booking forms ?>
    <?php endif; ?>
    <p>
    <label for='booking_adres'><?php _e('Adres', 'dbem') ?></label>
    <textarea name='booking_adres'><?php echo !empty($_POST['booking_adres']) ? $_POST['booking_adres']:'' ?></textarea>
    </p>
    <p>
    <label for='booking_comment'><?php _e('Comment', 'dbem') ?></label>
    <textarea name='booking_comment'><?php echo !empty($_POST['booking_comment']) ? $_POST['booking_comment']:'' ?></textarea>
    </p>

    Thankyou

  7. yasamadair
    Member
    Posted 1 year ago #

    @Marcus, I really appreciate your work. I just would like to advice that you should extend your pricing plans and give more options to us. I mean, I just need this form editor function as plus but $75 is too much to pay only for this need. Could you add this feature to your plugin for $10, for example?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic