Title: Conditional Field with custom code
Last modified: March 13, 2023

---

# Conditional Field with custom code

 *  Resolved [webartist00](https://wordpress.org/support/users/webartist00/)
 * (@webartist00)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/conditional-field-with-custom-code/)
 * Hi Jules,
 * thank you for your last support, I would have another question.
 * I use images instead of radio buttons, but now I face the problem, that I cant
   use the conditional fields conditions. (I cannot select a field, because of cuustom
   code)
 * I dont know if thats the most effient way to establish images instead of radio
   buttons. I am open for suggestions. FOllowing the Form code:
 *     ```wp-block-code
       <div class="wohnungen">
       <div class="property">
       <label>
         <input type="radio" name="test" value="small" checked>
         <img src="https://www.remax-dd.de/images/vkf/ico-vk-wohnung_gross.png" alt="Option 1">
       <h5 class="property-description">Wohnung</h5>
       </label>
       </div>
       <div class="property">
       <label>
         <input type="radio" name="test" value="small" checked>
         <img src="https://www.remax-dd.de/images/vkf/ico-vk-wohnung_gross.png" alt="Option 1">
       <h5 class="property-description">Wohnung</h5>
       </label>
       </div>
       <div class="property">
       <label>
         <input type="radio" name="test" value="small" checked>
         <img src="https://www.remax-dd.de/images/vkf/ico-vk-wohnung_gross.png" alt="Option 1">
       <h5 class="property-description">Wohnung</h5>
       </label>
       </div>
       <div class="property">
       <label>
         <input type="radio" name="test" value="small" checked>
         <img src="https://www.remax-dd.de/images/vkf/ico-vk-wohnung_gross.png" alt="Option 1">
       <h5 class="property-description">Wohnung</h5>
       </label>
       </div>
       </div>
       ```
   
 * Thank you in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-field-with-custom-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/conditional-field-with-custom-code/#post-16553334)
 * Please insert your code in the form tester [https://conditional-fields-cf7.bdwm.be/form-tester/](https://conditional-fields-cf7.bdwm.be/form-tester/)
   and share it here. That way I can make modifications to your code directly.
 *  Thread Starter [webartist00](https://wordpress.org/support/users/webartist00/)
 * (@webartist00)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/conditional-field-with-custom-code/#post-16554687)
 * Hi there, I got it. Thank you for your time!

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

The topic ‘Conditional Field with custom code’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [webartist00](https://wordpress.org/support/users/webartist00/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/conditional-field-with-custom-code/#post-16554687)
 * Status: resolved