The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events