Modify

Ticket #14001 (closed defect: fixed)

Opened 18 months ago

Last modified 13 months ago

Mura validation broken in modern browsers

Reported by: marcins@… Owned by:
Priority: major Component: General
Version: 5.2 Keywords: validation form
Cc: Time planned: 1d
Time remaining: 1d Time spent: 1d

Description

Because Mura uses the HTML attribute "required" and HTML5 now implements an attribute called "required" this causes problems for Mura form validation on browsers that support HTML5 - mainly Safari 5 and latest Chrome.

In these browsers if a required field is unfilled then the browser will focus on this field before the Mura validation fires. In addition, this causes problems for radio buttons because if you put a "required='true'" on one it means that radio button must be selected for HTML5 validation to pass.

This is a pretty major and core issue as more browsers start to support the HTML5 "required" attribute.

Attachments

Change History

comment:1 Changed 15 months ago by mattlevine

  • Owner blueriver deleted
  • Component changed from v5 to General

comment:2 Changed 13 months ago by mattlevine

  • Status changed from new to closed
  • Resolution set to fixed

In 5.3 you can now update the following attributes

data-required data-message data-validate data-message data-regex data-matchfield

In 5.4 you can use the CKEditor form tools to set their values and no longer need to always go to source view.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.