> On Tuesday 24 May 2005 06:54, S. Isaac Dealey wrote:
>> <cfparam name="x" default="">
>>
>> instead of this:
>>
>> <cfparam name="form.x" default="">
>>
>> I'm still not entirely certain how that comes across as
>> the question
>> he asked, except perhaps that he's trying to scope his
>> variables as
>> say "variables.x" instead of "form.x" without first
>> copying them down
>> from the form scope into the variables scope, so the
>> server produces
>> an error when it doesn't see "variables.firstname" even
>> though the
>> firstname input element was a text input. I'm trying to
>> remember if
>> <cfparam name="x" default=""> inserts a value into the
>> variables scope
>> if there's a form field matching that variable name...
>> It's been so
>> long since I've used cfparam without scoping the name
>> that I can't
>> remember what the behavior is.

> Sort of.  I don't want to have to include the cfparam line
> at all, though,
> since there are so many times when I won't know what
> parameters are going to
> be used in a page at the tim that I write it -- such as
> when a form has been
> dynamically generated and can contain different fields
> each time it is
> generated, based on user input or results from a database
> query.

Okay... now I'm lost... How does PHP obviate the need to parameterize
variables on a form action page?Does it do something like ASP where
any undefined variable is equal to "" instead of producing an error?

s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207534
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to