Title: Changing the request form
Last modified: August 10, 2017

---

# Changing the request form

 *  [abeljack](https://wordpress.org/support/users/abeljack/)
 * (@abeljack)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/changing-the-request-form/)
 * Hello
 * I am trying to change the request form so that it doesn’t ask for the
    – contactAddress1–
   contactAddress2 – contactCity – contactCity – contactPhonePrimary – contactPhoneSecondary–
   contactState – contactWebsite – contactZip
 * I have removed it from the PublicRequest.html so that it doesn’t show on the 
   form and then i have removed the public static function showForm_checkErrors 
   section from the bookaroom-meetings-public.php so that it doesn’t ask for the
   fields to be filled in. When i click submit on the conformation page it doesn’t
   show the content it just loads a blank box.
 * I know this isn’t exactly a normal request but do you have any idea’s ?
    -  This topic was modified 8 years, 9 months ago by [abeljack](https://wordpress.org/support/users/abeljack/).

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

 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9408011)
 * Removing a whole error checking function is not going to go well.
 * You best bet is to leave it in and find the “required” bits.
 * For instance, the code to check for the contact address is:
 * `if( empty( $externals['contactAddress1'] ) ):`
 * If you add _false and_, it should ignore it.
 * `if( false and empty( $externals['contactAddress1'] ) ):`
 * I’m working on the i18n stuff at the moment (I found some huge bugs in testing)
   but I’ll be adding a lot of options when I get past that.
 *  Thread Starter [abeljack](https://wordpress.org/support/users/abeljack/)
 * (@abeljack)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9408656)
 * Thanks for that it’s now letting me submit the form, the user email sends but
   it doesn’t appear in the pending reservations page any ideas ?
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9408674)
 * That is strange and I’m not sure why it would do that, but there’s a lot going
   on so any editing of the forms can cause problems. If you restore the code to
   the original, do they still work?
 *  Thread Starter [abeljack](https://wordpress.org/support/users/abeljack/)
 * (@abeljack)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9408697)
 * Yes if i restore the code then they appear, I’ve removed the social button is
   that mandatory ?
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9408713)
 * In the version I am testing, this will be something that can be turned off by
   branch or sitewide.
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9521183)
 * Can you try the new version. You can turn it off by branch. I’ll be adding in
   more customization to the message and a site wide option soon.
 *  Thread Starter [abeljack](https://wordpress.org/support/users/abeljack/)
 * (@abeljack)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9527106)
 * I’ve updated to the new version, is there an option in the settings page to turn
   it off or do i need to remove some lines of code ?
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9527724)
 * It’s in the branch settings, by each branch.
 *  [prestonmay3](https://wordpress.org/support/users/prestonmay3/)
 * (@prestonmay3)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9585899)
 * What would you add to this line to make it not required or what to omit
 * <input<?php if( !empty( $errorArr[‘classes’][ ‘numAttend’] ) ) echo ‘ class=”
   error”‘; ?> name=”numAttend” type=”text” id=”numAttend” value=”<?php echo $externals[‘
   numAttend’]; ?>” size=”3″ maxlength=”3″/>
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9591337)
 * There is more to it than just that line, and, unfortunately, I don’t have the
   free time to customize the code individually. That’s just the code on the template
   to display it, the error checking routines are separate and in another file. 
   Removing things that are required like this will make the form impossible to 
   submit since you pulled a field that is still being checked for.

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

The topic ‘Changing the request form’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/book-a-room_f4ece6.svg)
 * [Book a Room](https://wordpress.org/plugins/book-a-room/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/book-a-room/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/book-a-room/)
 * [Active Topics](https://wordpress.org/support/plugin/book-a-room/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/book-a-room/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/book-a-room/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/changing-the-request-form/#post-9591337)
 * Status: not resolved