Opened 12 years ago

Closed 11 years ago

#244 closed New Feature (duplicate)

ID in form fields for validation, or an alternative method

Reported by: gregsmith Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Hi, I'm currently trying to come up with a generic method to add validation to forms created in my cms with fckeditor. I've found many scripts that are great like this one, but work by creating a hidden field that lists the names of the fields requiring validation. This is all fine except the javascript finds the hidden field by ID, which can't be added using the standard fckeditor interface.

I've been trying to find a script that can find the hidden field by name (that IS editable by fckeditor) but I can't find one and don't know enough javascript to manipulate a script myself. I understand the getElementById() and getElementsByName() functions work differently, otherwise I'd just interchange all the instances in the script.

Ideally, can anyone recommend their way of creating forms with validation in FCKeditor. If not is there any chance you could add the ID field to the hidden field dialogue in the next release please?

Many thanks

Change History (1)

comment:1 Changed 11 years ago by Wojciech Olchawa

Resolution: duplicate
Status: newclosed

DUP of #1126

We have more features to be added in #1126 and ID is one of them.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy