Title: Swapping  with
Last modified: August 30, 2016

---

# Swapping with

 *  Resolved [totallytech](https://wordpress.org/support/users/totallytech/)
 * (@totallytech)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/swapping-with/)
 * Hey,
    Loving the script – its fantastic!!
 * Can you point me in the right direction please?
    I’ve been checking the code 
   over – where there is currently a drop down <select> for the services – I need
   to change these to an <input type=”radio”>. I’ve managed to find the code which
   displays the list of selectable items:
 *     ```
       <select class="ab-formElement ab-select-mobile ab-select-service">
             <option value=""><?php echo esc_html( __( get_option( 'ab_appearance_text_option_service' ), 'ab' ) ) ?></option>
       </select>
       ```
   
 * however I cannot find where this is generating the list of services.
 * I’ve replaced the code with:
 * `<input type="radio" name="services" value="'<?php echo esc_html( __( get_option('
   ab_appearance_text_option_service' ), 'ab' ) ) ?>'" />` however this does not
   display correctly.
 * Can you help me out please?
 * [https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/)

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

 *  Thread Starter [totallytech](https://wordpress.org/support/users/totallytech/)
 * (@totallytech)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/swapping-with/#post-6626901)
 * I’ve checked the code again and I changed the code to:
 * `<input type="radio" name="services" class="ab-formElement ab-select-mobile ab-
   select-service" value="<?php echo esc_html( __( get_option( 'ab_appearance_text_option_service'),'
   ab' ) ) ?>" />`
 * which now displays:
 *     ```
       <input type="radio" name="services" class="ab-formElement ab-select-mobile ab-select-service" value=>
       <option value="1">Service 1</option>
       <option value="2">Service 2</option>
       </input>
       ```
   
 * I cannot find out how its generating the options so that it displays the info
   above.
 * Can you help please?
 *  Plugin Author [Bookly](https://wordpress.org/support/users/ladela/)
 * (@ladela)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/swapping-with/#post-6627169)
 * Hello,
 * The list services are rendered via the ajax request, you need to check out the`
   executeRenderService` method in the `[wordpress]/wp-content/plugins/appointment-
   booking/frontend/modules/booking/AB_BookingController.php` file.
 * Thanks!

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

The topic ‘Swapping with’ is closed to new replies.

 * ![](https://ps.w.org/bookly-responsive-appointment-booking-tool/assets/icon-256x256.
   png?rev=2847809)
 * [Online Scheduling and Appointment Booking System – Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bookly-responsive-appointment-booking-tool/)
 * [Active Topics](https://wordpress.org/support/plugin/bookly-responsive-appointment-booking-tool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bookly-responsive-appointment-booking-tool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bookly-responsive-appointment-booking-tool/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Bookly](https://wordpress.org/support/users/ladela/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/swapping-with/#post-6627169)
 * Status: resolved