Hi everyone,
I would like to use an autocomplete box with form, but I would like to print value different on the box than sent on form:
Person
- Name
- Forname
- ID
-> html will show concatenate name with forname when selected
-> form will get the user's id and not the "name-forname" field
Thanks in advance!
AutoComplete with form
-
- Posts: 1
- Joined: 31 Aug 2023, 07:22
Hy there i can see your post and i must say
HTML Structure:
Start by creating your HTML form and autocomplete input field.
html
Copy code
<form id="myForm">
<label for="person">Person:</label>
<input type="text" id="personInput" name="personInput">
<input type="hidden" id="personId" name="personId">
<button type="submit">Submit</button>
</form>Workforce Now ADP
Thanks and regards\
PeterShelton
HTML Structure:
Start by creating your HTML form and autocomplete input field.
html
Copy code
<form id="myForm">
<label for="person">Person:</label>
<input type="text" id="personInput" name="personInput">
<input type="hidden" id="personId" name="personId">
<button type="submit">Submit</button>
</form>Workforce Now ADP
Thanks and regards\
PeterShelton
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests