Make the element type number if challenge is math

Created on 9 December 2024, 12 days ago

Problem/Motivation

The element type is textfield regardless of the challenge type. This creates an extra step of changing the keyboard especially on an iPhone (I wasn't able to test on Android).

Steps to reproduce

The element type could be changed to number if the challenge type is math.

Proposed resolution

Edit captcha.module to read '#type' => 'number' if challenge is math.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Active

Version

2.0

Component

User interface

Created by

🇹🇷Turkey Kartagis Istanbul

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024