Answer the question
In order to leave comments, you need to log in
How to correctly call one form from another?
On a site with a backend on ruby on rails, you need a pop-up window to appear after filling out one form with standard validation, with another form where the user needs to enter a code from SMS.
Can you tell me the best way to implement this?
So far, in my thoughts, only intercept the submit of the first form through js and call the second, provided that the data from the first is correctly filled in.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question