You could always use something like this:

<cfif permitted>
  <input type="text" name="myinputname" value="#myvalue#">
<cfelse>
  #myvalue#<input type="hidden" name="myinputname" value="#myvalue#">
</cfif>


> Hi there...

> I'm attempting to display a form, based upon roles, that
> is either
> disabled or enabled.

> For a CFINPUT, "disabled" is not an option, and I'm
> wondering if there's
> any other way that this might be accomplished and produced
> the same
> desired effect--a form element, populated, but not able to
> be edited for
> the "right" access.

> Thanks,

> Russ Unger
> Managing Partner
> blueChrome design, LLC
> www.bluechromedesign.com
> <http://www.bluechromedesign.com/>
> 312.593.4260 :office
> 877.433.8427 :pager
> 312.873.4033 :fax


> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/cf_lists/index.
> cfm?method=subscribe&forumid=4
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Structure your ColdFusion code with Fusebox. Get the
> official book at http://www.fusionauthority.com/bkinfo.cfm


Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to