[contact-form-7 id=”11797″ title=”LMPC Registration Form – New”]
select[name=”authorized-person-designation__1″] option:nth-child(n){
display: none;
}
select[name=”authorized-person-designation__1″] option:nth-child(1){
display: block;
}
jQuery(function ($) {
$(“#person-group”).on(‘DOMNodeInserted’, function(e) {
if ( $(e.target).hasClass(‘wpcf7-field-group’) ) {
var first = true;
$(“.authorised-person”).each(function(i){
if(!first) {
$(this).html(“Person Name”);
}
first = false;
});
first = true;
$(“.person-mobile-no”).each(function(i){
if(!first) {
$(this).html(“Registered Mobile No.”);
}
first = false;
});
first = true;
$(“.other-directors-partners”).each(function(i){
if(!first) {
$(this).html(” “);
}
first = false;
});
first = true;
$(“.person-designation”).each(function(i){
if(!first) {
$(this).html(“Person Designation”);
}
first = false;
});
}
});
});