Hi,
I would like to default a numeric variable to empty. The situation is that I've got a page that takes FORM/URL scope variables from the previous page and from a post back of itself. Here's some code:
<cfparam name="fooPostBackVar" type="numeric" default=??>
<cfparam name="fooLocalVar" type="numeric" default=#fooPostBack#>
<input type="text" value="#fooLocalVar#">
The first time the user comes to the page, I'd like fooLocalVar to be null yet still retain the datatype in case of a postback.
The question: what to I put in place of default=??.
I would like to default a numeric variable to empty. The situation is that I've got a page that takes FORM/URL scope variables from the previous page and from a post back of itself. Here's some code:
<cfparam name="fooPostBackVar" type="numeric" default=??>
<cfparam name="fooLocalVar" type="numeric" default=#fooPostBack#>
<input type="text" value="#fooLocalVar#">
The first time the user comes to the page, I'd like fooLocalVar to be null yet still retain the datatype in case of a postback.
The question: what to I put in place of default=??.