Add an AJAX form example to the Reset Password Email OTP ajax sample module

Created on 17 May 2023, about 1 year ago
Updated 29 June 2023, about 1 year ago

Problem/Motivation

I have a simple use case and I cannot figure it out how to achieve this with Reset Password Email OTP.

reset_password_email_otp_form is 3 step form.
The user enter his username/email on 1st page and OTP on 2nd page.
when user submit next button then form reloading currently, we need to make next button using ajax so that validation error should show on same form instead of top of page.

How can I change the form, that the "Submit" is done by Ajax (form validation and submission) ?

I want to run through the normal submit / validate handler.
Form Path: /modules/contrib/reset_password_email_otp/src/Form/EmailOTPCheck.php

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ’ฌ Support request
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia Rajan Kumar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024