Created
November 12, 2012 15:05
-
-
Save colewinans/4059865 to your computer and use it in GitHub Desktop.
Gravity Forms conditionally dependent values in jQuery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#input_1_9").change(function() { | |
if ($(this).val() == "" ) { | |
$("#input_1_16").val("Other (Non-US)"); | |
} else { | |
$("#input_1_16").val($(this).val()); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment