Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).on('keyup','.existing_repeat_entry_panel #component-85c0-fbd0-4cf4', function(){
- //Check the value of requied filed
- //Loop for repeat index
- for (var repeat_index=0; repeat_index < window.formyoula.form_fields["5fb5-8b93-521e"].get('repeat_value').length; repeat_index++ ) {
- //Check the value of requied filed
- if ($('#collapse_5fb5-8b93-521e_'+repeat_index+' #component-85c0-fbd0-4cf4 .input_content').val()) {
- //Enable the submit button
- $(".finish").attr('disabled',false);
- } else {
- //Disable the submit button
- $(".finish").attr('disabled',true)
- break;
- }
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement