Hi,
I want to hide the form and update button until the email are confirm?
I have tried to write a JS script, without any luck.
I can only hide the hole content with the Confirm email button also with the below code:
$(document).ready(function(){
console.log(555,"JS-Hide Profile web form");
$(".col.med-8").hide();
})
The JS that i cant figure our is this:
$(document).ready(function(){
$(".col-md-8").change(onDiplaySectionChnage);
onDiplaySectionChnage();
function onDiplaySectionChnage() {
var varConfirmEmail = $("#adx_identity_emailaddress1confirmed").find("option:boolean").boolean();
if(varConfirmEmail === false){
$("firstname").hide();
$("lastname").hide();
$("email").hide();
$("business phone").hide();
$("update").hide();
}
else(
$("firstname").show();
$("lastname").show();
$("email").show();
$("business phone").show();
$("update").show();
}
});

Report
All responses (
Answers (