conditional format

By: software tech caam | Asked: 04/03/2023
ForumsCategory: General questionsconditional format
software tech caam asked 1 year ago

Hi all   does the formidable form is capable to do like this:   ID34 is a radio, and ID70 is also a radio. if ID34 is equal "yes" then ID70 is equal "eat"  and if "no" then ID70 is equal "hungry"   how and where to put the condition.   best regards

1 Answers
Victor Font answered 1 year ago
Do this in jQuery.
software tech caam replied 1 year ago

can i use this

jQuery( document ).ready( function ( $ ) {
$( document ).on( 'change', 'input[name="item_meta[5133]"]', function () {
var val1 = $( "input[name='item_meta[5133]']" ).filter( ":checked" ).closest( 'label' ).text().trim();
$( "#field_1hfd3" ).val( val1 );
$( "#field_1hfd3" ).change();
} );
} );

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right