Forms

Hi! Im creating a form to use with databases. But I need to autocomplete (with the read only property) the first input field. Does anyone know how to do to link the wix user email to that field? Thats because I need to know who is submiting every form. So they don´t have to write it manualy. Only members will use that form.

Thank you all very much and have a great day!

Hi,
You can use getEmail method.
After you get it just set the input field.

$w('#myTextInputIElement').value = emailValue // use getEmail method to set emailValue

Good luck!
Roi

1 Like

Thanks!! I´ll try that. I hope I can haha since it´s my first time using code.
Thank you for taking some time to answer my post.
I will let you know if it works.

I dont understood how to use it. Im sorry :frowning: