Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JSD widget pass validation when programmatically filling email

Niklas Blomkvist
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 24, 2020

I'm trying to prefill the email field in the widget's form when a user is logged in on our site. I have managed to fill the email field with the user's email, but when trying to submit the form it looks like the form's validator does not accept the programmatically filled in email. I have to do a manual edit (eg add space, remove space) in the email field for the form to pass validation and get submitted.

I have tried to trigger events on the email field (input, keydown, keyup, keypress) but without success.

Is there a way to make the form pass validation when programmatically filling the email field?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events