I have a form with input textboxes with IDs as follows:
#ApplicantFirstName #ApplicantSurname #ApplicantAddress #ApplicantPostcode
Later in the form, there is a consent where I need to show the above details in a statement.
I have the consent as follows:
<p>I <span id="ApplicantFullName"></span> of <span id="ApplicantFullAddress"></span> hereby give my permission for the company to share personal information with other service providers</p>
The function is then triggered on a dropdown being clicked with onclick="updateConsent(); being added to the dropdown.
I have written the following but it’s not working:
Is that the correct script to use?
I’m not getting any errors, just doesn’t appear to be working