Hello Experts,
Need help on couple of issues in AEM Adaptive forms 6.2 CFP 12.
1) We are trying to set the property of Help Content (Short Description/Tooltip) dynamically through scripts from clientLibs but its not working as expected.
The new values provided through script displays only in console.log but on form preview when the cursor is moved towards the field the Custom Help content (Short Description/Tooltip) does not display.
Tried with below script without desired results.
var esom = element.somExpression;
guideBridge.setProperty([esom],"shortDescription",["Field is Mandatory"]);
and
guideBridge.on("elementValidationStatusChanged", function(event, payload)
{
var component = payload.target;
if (payload.prevText) {
console.log("component became invalid");
component.jsonModel.shortDescription = "Field is Mandatory";
console.log(component.shortDescription); //Show new shortDescription but in preview it does not work.
} else {
console.log("component became valid" );
}
})
}
2) The Short Description always appears on bottom of the field, we are trying to show it either on left or right side of the field but not able to achieve it. In Themes we have option to do this but once we do the change to Short Description it does not reflect in Theme preview.
Thanks