>From a CFMX perspective, I would warn off it - only because the DOT notation is used in STRUCTs to create the hierachy.
Apparently, in previous versions of Cold Fusion (??) I remember someone saying that using DOT notation automatically created nested structures. In CFMX (at least in 6.1) this is not the case and the whole string (with DOTS) is used as the key. However, a FORM is an isolated (and transient) scope. So you probably wont create nested structures there. I'd just be cautious about getting into the DOT habit for keys to a FORM field and then carrying that into structures that live in scopes that you may end up nesting. So - in answer to Scott's question - CFMX will create (or be expecting in this instance) a KEY of "inpPerson.Employee.positionTitle" inside the FORM scope. Not a set of nested structures. At least that is my (recent - talking last week) experience. Regards, Gary ----- Original Message ----- From: Scott Barnes <[EMAIL PROTECTED]> Date: Tue, 24 Aug 2004 15:58:14 +1000 Subject: [cfaussie] Re: dots in form field names? To: CFAussie Mailing List <[EMAIL PROTECTED]> Depends. Does the DOM automatically create objects called inPerson.Employee and then inPerson.PositionTitle? or is it string in that even though the dots are there, the DOM still regarsd it as formObject.Value instead of formObject.ValuePartA.ValuePartB and so on.. Point is, it could get a bit of a mindfart if the DOM treats it as a String. I can see some payoffs though, especially in the way of form field splits... ie (Address_1, Address_2 == Person.DetailsA.Address, Person.DetailsB.Address) or something like that Scott "Taco Fleur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Does anyone see any obvious or not so obvious reasons not to use a dot in the naming of form fields? Example: <input type="text" name="inpPerson.Employee.positionTitle" value="#form["inpPerson.Employee.positionTitle"]#"> Taco Fleur Tell me and I will forget Show me and I will remember Teach me and I will learn --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
