Kate
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Conditional Display of a Filter Fields
Started by: Kate
in: Toolset Professional Support
Problem: Solution: ( function( $ ) { $( document ).ready( function(){ $('.state-filter').hide(); $('#wpv_control_select_wpcf-country').change( function(){ if ( $(this).val() == 1 ){ $('.state-filter').show(); } else { $('.state-filter').hide(); } }); }); })( jQuery ); The field names need editing, and the wrapper div for the form control which should be hidden in this example requires the class "state-filter" adding. |
|
2 | 3 | 6 years, 2 months ago |