Hi All,
I'm trying to access a Quick View Form Field via Javascript.
I've checked that the form is loaded and i can get access to the object but i'm unable to access the field value
var formContext = executionContext.getFormContext();
var qvc = formContext.ui.quickForms.get("maintenantinfo");
if (qvc.isLoaded())
{
var birthday = null;
var x = qvc.getControl("birthdate")
birthday = qvc.getAttribute().getValue();
}
Then an error is thrown
Cannot read property 'getValue' of null
I've tried accessing the field directly to no success as well.
any help would be greatly appreciated