WebAIM - Web Accessibility In Mind

E-mail List Archives

Two Factor Identification

for

From: TJ McElroy
Date: Sep 14, 2022 4:09AM


Hello,

I am writing a two factor identification script,
to allow uploads to my site.

a user must fill out a form
entering their name and email address

then a random five digit number (token) is generated,
that token is emailed to the user.

on the page that the user entered their original data
I have two forms
the form that gathers the users original data (form1)
and a form for the user to enter the token (form2)

my question is:

which is the best practice,
keeping both form1 and form2 on the same page
or
having form1 and form2 on separate pages

Thanks,