Title: setting toggle switch via condition
Last modified: June 3, 2018

---

# setting toggle switch via condition

 *  Resolved [markvdm](https://wordpress.org/support/users/markvdm/)
 * (@markvdm)
 * [8 years ago](https://wordpress.org/support/topic/setting-toggle-switch-via-condition/)
 * Is it possible to set the default value of a toggle switch (having values 1-4)
   automatically based on the selected value of a dropdown select.
 * steps to follow:
    – a single form loads containing a dropdown select and a toggle
   switch – the user selects an item in the dropdown select – based on the user’s
   selections, the toggle switch changes to the appropriate value
 * ideally, the toggle switch cannot be set by the user
 * thx,
    Mark

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [christiechirinos](https://wordpress.org/support/users/christiechirinos/)
 * (@christiechirinos)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/setting-toggle-switch-via-condition/#post-10468034)
 * Hi Mark,
 * Thanks for using Caldera Forms, that means a lot to us.
 * This is not currently a feature of Caldera Forms in the way that you described.
   A dropdown can’t manipulate the toggle switch exactly. With that said, I’ve seen
   many Caldera Forms users create the “illusion” of this functionality with a dropdown
   select field that hides and shows otherwise hidden fields with the correct display.
   See: [https://www.ostraining.com/blog/wordpress/conditional-logic-with-caldera-forms/](https://www.ostraining.com/blog/wordpress/conditional-logic-with-caldera-forms/)
 * I’m going to mark this thread as resolved, but please don’t hesitate to reopen
   it if you have additional questions.

Viewing 1 replies (of 1 total)

The topic ‘setting toggle switch via condition’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [christiechirinos](https://wordpress.org/support/users/christiechirinos/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/setting-toggle-switch-via-condition/#post-10468034)
 * Status: resolved