I’m stuck on this error, I tried fixing this error.
$row = $form->addRow();
$row->addAlert((‘Address information for an individual only needs to be set under the following conditions:’), ‘warning’)
->append(‘
- ’)
- ’.(‘If the user is not in a family.’).‘ ’)
- ’.(‘If the user\‘s family does not have a home address set.’).’ ‘)
- '.(‘If the user needs an address in addition to their family\‘s home address.’).’ ‘)
->append(‘
->append(‘
->append(’
->append(’
$row = $form->addRow()->addClass('address');
$row->addLabel('address1', __('Address 1'))->description(__('Unit, Building, Street'));
$row->addTextField('address1')->maxLength(255)->required();
$row = $form->addRow()->addClass('address');
$row->addLabel('address1District', __('Address 1 District'))->description(__('County, State, District'));
$row->addTextFieldDistrict('address1District')->required();
$row = $form->addRow()->addClass('address');
$row->addLabel('address1Country', __('Address 1 Country'));
$row->addSelectCountry('address1Country')->required();</i>
I copied this code from user_manage_add.php
can someone please guide me?