I added the attribute readonly because I have multiple forms that are
chained together and it puts the primary key column in a filtered
select and I have thousands of records so it automagically makes you
enter info in a text box because it went over the maximun allowed
whatever. So since I did not want people to actually change the pk
field I am using a text input because I still need the value. I made
the attribute readonly so users can't change it.
Line added
<cfparam name="Attributes.readonly" type="string" default="">
then on line 73 looks like
<td><input type="#Iif(Attributes.passwordInput,
DE('password'), DE('text'))#" name="#Attributes.column#"
value="#HtmlEditFormat(Trim(Form[Attributes.column]))#"
size="#Attributes.size#"<cfif Attributes.maxLength GT 0>
maxlength="#Attributes.maxLength#" #Attributes.readonly#</cfif>
</cfoutput>
Now everything is peachy.
I beleive I pointed out the change request to get the primary column on forms that edit to default to readonly.
Hope this makes sense.
--
Tim Blankenship
[EMAIL PROTECTED]
www.vespri.com
- [plum] Change to custom tag DisplayTextInput Tim Blankenship
- Re: [plum] Plain version of site / google Stephen Ansari
- Re: [plum] Plain version of site / google David Churvis
