Title: select tag inside form
Last modified: August 21, 2016

---

# select tag inside form

 *  Resolved [new_12](https://wordpress.org/support/users/new_12/)
 * (@new_12)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/select-tag-inside-form/)
 * i want to create a select tag inside form.and provide checkbox for active or 
   Required.any help?
 * [https://wordpress.org/plugins/booking/](https://wordpress.org/plugins/booking/)

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

 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/select-tag-inside-form/#post-4725705)
 * Hello.
    It’s possible at the any paid versions of the Booking Calendar. You can
   configure the form fields in these versions on the Booking > Settings > Fields
   page. Please read more about the booking form fields configuration [here](http://wpbookingcalendar.com/help/booking-form-fields/)
   Also you can test the live demo of those versions at this [page](http://wpbookingcalendar.com/demo/).
   Kind regards.
 *  Thread Starter [new_12](https://wordpress.org/support/users/new_12/)
 * (@new_12)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/select-tag-inside-form/#post-4725708)
 * is that possible to implement it in code itself….?
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/select-tag-inside-form/#post-4725815)
 * Hello.
    You can try to do that in this file ../booking/lib/wpdev-booking-class.
   php in the content of this function: `function get_booking_form($my_boook_type){`
 * by adding your code after this code (in the same way):
 *     ```
       $my_form.='  <div class="control-group">
                             <label for="details" class="control-label">'.$booking_form_field_label5.(($booking_form_field_required5=='On')?'*':'').':</label>
                             <div class="controls">
                               <textarea rows="3" name="details'.$my_boook_type.'" id="details'.$my_boook_type.'" class="input-xlarge'.(($booking_form_field_required5=='On')?' wpdev-validates-as-required ':'').'"></textarea>
                             </div>
                           </div>';
       ```
   
 * Also you will be need to add the code for showing the data from that field in
   the content of this function get_booking_form_show() , which located in the ../
   booking/lib/wpdev-booking-function.php file.
    after this code:
 *     ```
       $booking_form_show.='<strong>'.$booking_form_field_label5.'</strong>: <br /><span class="fieldvalue">[details]</span>';
       ```
   
 * **Please note, if you will modify the source code of the Booking Calendar, we
   will not guaranteed the correct work of plugin and do not support it.**
 *  Thread Starter [new_12](https://wordpress.org/support/users/new_12/)
 * (@new_12)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/select-tag-inside-form/#post-4725828)
 * thanks alot…i have completed .but,my next qst is,after submit ,how to insert 
   this datas in to database.i mean,in which php page insert query specified?
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/select-tag-inside-form/#post-4725834)
 * I was mentioning that in my previous reply at the bottom of the reply.
    It’s 
   inside of the wpdev-booking-functions.php. Again, please note, we do not support
   such modifications.

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

The topic ‘select tag inside form’ is closed to new replies.

 * ![](https://ps.w.org/booking/assets/icon-256x256.gif?rev=3335907)
 * [Booking Calendar](https://wordpress.org/plugins/booking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking/)
 * [Active Topics](https://wordpress.org/support/plugin/booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/select-tag-inside-form/#post-4725834)
 * Status: resolved