﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
244	ID in form fields for validation, or an alternative method	gregsmith		"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 [http://onlinetools.org/articles/unobtrusivejavascript/chapter5.html 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"	New Feature	closed	Normal		General		duplicate		
