Title: REG Type Fee
Last modified: August 30, 2016

---

# REG Type Fee

 *  Resolved [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/reg-type-fee/)
 * Can you please explain how to change the “type” of a fee. I have created fees
   that I believe are a “REG Type”. This is reflected in the fees area where fees
   are listed as “$ REG | Event Registration Fee.” But when choosing the fee on 
   the registration page, the submit button does not activate. Looking at the code
   on the registration page, I see the following:
 * <label for=”cost” title=”Event Registration Fee – Member”><select style=”width:
   60px” name=”PROD_2-9_35.00″ id=”PROD_2-9_35.00″ onchange=”CalculateTotal(this.
   form)”>
    <option value=”0″>0</option> <option value=”1″>1</option> </select> 
   Event Registration Fee – Member 35.00</label> <input type=”hidden” name=”reg_type”
   value=”RGLR”>
 * I need help creating an appropriate REG Type fee or an explanation of why the
   system isn’t working. Considering the number of “REG Type Fee” items in the support
   forum, a better explanation about how to adjust these types would be helpful.
 * [http://www.iabc-colorado.com/the-role-of-communication-in-cultural-transformation-presented-by-richard-khleif/](http://www.iabc-colorado.com/the-role-of-communication-in-cultural-transformation-presented-by-richard-khleif/)
 * [https://wordpress.org/plugins/event-registration/](https://wordpress.org/plugins/event-registration/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [avdude](https://wordpress.org/support/users/avdude/)
 * (@avdude)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/reg-type-fee/#post-6625495)
 * Thank you for including a link. It is always easier to offer support with more
   details and information. After following the link to your site, and looking at
   the form action, the form is suppose to total the fees when you change the quantity
   of the fee type, basically a javascript on change event. When the fee total changes,
   it triggers another event that enables the Submit button. Neither of these are
   happening.
 * The javascript file that does this action, and one that does validation are in
   the public folder with the registration form, however if I try and run either
   script on its own, I get a Forbidden error from your site. Likely related to 
   folder permissions.
    You have several options to determine if this is the issue.
   I would suggest to copy the file calculator.js.php from the public folder to 
   the Event Registration root folder and modify the file er_public-form.php (nice
   layout changes BTW!) around line 114 and change `<script type="text/javascript"
   src="'. EVR_PLUGINFULLURL.'public/calculator.js.php?tax='.$tax_rate.'"></script
   >` to `<script type="text/javascript" src="'. EVR_PLUGINFULLURL.'calculator.js.
   php?tax='.$tax_rate.'"></script>` basically changing the filepath to the location
   of the plugin root.
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/reg-type-fee/#post-6625503)
 * Thanks for your reply. I made the changes you suggested and still no luck. calculator.
   js.php resides in the event-registration root directory. In evr_public_form.php
   I changed every instance where I saw the javascript point to ‘public/calculator.
   js.php’ and changed it to ‘calculator.js.php’.
 * <script type=”text/javascript” src=”‘. EVR_PLUGINFULLURL.’calculator.js.php?tax
   =’.$tax_rate.'”></script>’;
    } } else { echo ‘<script type=”text/javascript” 
   src=”‘. EVR_PLUGINFULLURL.’calculator.js.php?tax=’.$tax_rate.'”></script>’; }?
   >
 * Any other suggestions? Thanks for any help you can provide.
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/reg-type-fee/#post-6625567)
 * Host found an Apache error that resided on the server.
 *  Plugin Author [avdude](https://wordpress.org/support/users/avdude/)
 * (@avdude)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/reg-type-fee/#post-6625568)
 * Glad you found the issue

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘REG Type Fee’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/event-registration_edf8fe.svg)
 * [Event Registration](https://wordpress.org/plugins/event-registration/)
 * [Support Threads](https://wordpress.org/support/plugin/event-registration/)
 * [Active Topics](https://wordpress.org/support/plugin/event-registration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-registration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-registration/reviews/)

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [submit](https://wordpress.org/support/topic-tag/submit/)

 * 4 replies
 * 2 participants
 * Last reply from: [avdude](https://wordpress.org/support/users/avdude/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/reg-type-fee/#post-6625568)
 * Status: resolved