Support » Plugin: Event Registration » Registration Form Modifications

  • Resolved stephrek

    (@stephrek)



    Hello there,

    Is there a way to edit the predetermined form questions? For Example, I would like to change “Name” to “Players Name”. I am building events for a hockey camp and want to make sure the parents registering their children for camp are entering the campers name instead of their own name. I also am looking to change “Sales Tax” at the bottom of the form to “Processing Fee”. I am not sure which file to edit to make these changes. Any suggestions would be greatly appreciated. Thank you!

    https://wordpress.org/plugins/event-registration/

Viewing 1 replies (of 1 total)
  • Plugin Author avdude

    (@avdude)

    Yes, you will need to edit the file, evr-public-form in the public folder.

    Look for this section:

    evr_generate_frm_defaults('fname',__('First Name','evr_language'));
    evr_generate_frm_defaults('lname',__('Last Name','evr_language'));
    evr_generate_frm_defaults('email',__('Email Address','evr_language'));
            if ($inc_phone == "Y") {
                evr_generate_frm_defaults('phone',__('Phone Number','evr_language'));
            }
            if ($inc_address == "Y") {
                evr_generate_frm_defaults('address',__('Street/PO Address','evr_language'));
            }
            if ($inc_city == "Y") {
                evr_generate_frm_defaults('city',__('City','evr_language'));
            }
            if ($inc_state == "Y") {
                evr_generate_frm_defaults('state',__('State','evr_language'));
            }
            if ($inc_zip == "Y") {
                evr_generate_frm_defaults('zip',__('Postal/Zip Code','evr_language'));
            }
            if ($inc_comp == "Y") {
                evr_generate_frm_defaults('company',__('Company Name','evr_language'));
            }
            if ($inc_coadd == "Y") {
                evr_generate_frm_defaults('co_address',__('Company Address','evr_language'));
            }
            if ($inc_cocity == "Y") {
                evr_generate_frm_defaults('co_city',__('Company City','evr_language'));
            }
            if ($inc_costate == "Y") {
                evr_generate_frm_defaults('co_state',__('Company State/Province','evr_language'));
            }
            if ($inc_copostal == "Y") {
                evr_generate_frm_defaults('co_zip',__('Company Postal Code','evr_language'));
            }
            if ($inc_cophone == "Y") {
                evr_generate_frm_defaults('co_phone',__('Company Phone','evr_language'));
            }
    ?>
    <!--End Default Questions -->

    The rest should be obvious.

Viewing 1 replies (of 1 total)
  • The topic ‘Registration Form Modifications’ is closed to new replies.