Hi there everyone,
I am using the WrappedFormField demo (https://scout.bsi-software.com/widgets/?dl=widget-wrappedformfield) as a template for one of my forms.
I basically have a parent form that calls some other form in a wrapped form field just like in the demo.
I would like to update the parent form's title tab based on the field values in the wrapped form field.
For example, I have the following method in the wrapped form for creating the subtitle from the first name and last name entered in the wrapped form's fields.
protected String calculateSubTitle() {
return StringUtility.join(" ", getFullNameBox().getFirstNameField().getValue(),
getFullNameBox().getLastNameField().getValue());
}
When I call this method from the form handler's execStore() method, it throws a NullPointerException even though the fields are not empty and the data was correctly saved!
Can anyone please show me what I;m doing wrong?
Thanks a lot for your kind assistance.
JD
[Updated on: Sun, 04 December 2022 03:38] by Moderator