jquery validate plugin on dynamic form inputs not working


$("#coach-profile form").validate({
        rules: {
            "signupcoachform-zip":{
                required:true
            }
        },
        messages: {
            "Activity[activity_id][]": "At least one Activity must be selected",
        },
        errorPlacement: function(error,element){
   
        }
    });

below code needs to be in loop where your dynamic fields are genrated with JS

$('input[name="dynamic_field[activity_&_insurance]['+ activity_id +'][from]"]').rules("add", {
            required: true
        });
        
        $('input[name="dynamic_field[activity_&_insurance]['+ activity_id +'][to]"]').rules("add", {
            required: true
        });

jquery validate error message, mobile phone , url validations

$("#host-profile form").validate({
        rules: {
            "dynamic_field[host_type]":{
                required: true
            },
            "SignupHostForm[mobile]":{
                required:true,
                minlength:10,
                maxlength:10,
                number: true
            },
            "SignupHostForm[gender]":{
                required:true
            },
            "dynamic_field[primary_phone]":{
                required:true,
                minlength:10,
                maxlength:10,
                number: true
            },
            "dynamic_field[alternate_phone]":{
                required:true,
                minlength:10,
                maxlength:10,
                number: true
            },
            "dynamic_field[business_type]":{
                required: true
            },
            "dynamic_field[business_since]":{
                required: true
            },            
            "dynamic_field[place_name]":{
                required: true
            },
            "dynamic_field[business_location]":{
                required: true,
                number: true
            },
            "dynamic_field[company_email]":{
                required: true,
                email: true
            },
            "dynamic_field[website]":{
                required: true,
                url: true
            }, 
            "SignupHostForm[username]":"required",
            "SignupHostForm[zip]":"required",
            "dynamic_field[description]":"required",
            "Activity[activity_id][]":"required",
            "activity_&_insurance][][from]":"required",
            "activity_&_insurance][][to]":"required",
            
            "dynamic_field[place_address2]":"required",
            "dynamic_field[place_postal_code]":{
                required: true,
                number: true
            },
            "dynamic_field[intro_blurb]": "required",
            "dynamic_field[qualifications_&_affiliations]": "required",
            //"UploadForm[imageFiles][profile_image]": "required",
            "Activity[activity_id][]": "required",
            "AvailablilitySchedule[working_day_id][]": "required",
        },
        messages: {
            "Activity[activity_id][]": "At least 1 Activity must be specified",
            "dynamic_field[website]":{
                required: "this is required",
                url: "validate url"
            }
        },
        errorPlacement: function(error,element){
                switch(element.attr("name")){
                    case "UploadForm[imageFiles][profile_image]" : 
                            error.insertAfter('#btn-select1');
                            break;
                    case "Activity[activity_id][]" :
                            error.insertBefore($(element).parents('.activities_list'));
                            break;
                    case "dynamic_field[account_number]" : 
                            $('.place-modal-forms form #host_acc_err').html(error);
                            break;
                    case "dynamic_field[routing_number]" : 
                            $('.place-modal-forms form #host_routing_err').html(error);
                            break;
                    case "attest_check" : 
                            error.insertAfter('#attest_check_span');
                            break;  
                    case "review_check" : 
                            error.insertAfter('#review_check_span');    
                            break;                      
                    default :
                            error.insertAfter(element); 
                            break;
                }
        }
    });

phpMyAdmin prevent popup window for query editing

Stop phpMyAdmin editing queries in a popup window
To prevent phpMyAdmin opening a popup window to edit queries after clicking the "Edit" link, you need to open up and edit the config.inc.php file. This is the root folder for phpMyAdmin. The current releases do not have one of these files by default and you would normally copy config.sample.inc.php as config.inc.php and edit that. (You would have needed to create a config.inc.php file when you installed phpMyAdmin to get it to work anyway).



$cfg['EditInWindow'] = false;