so just out of curiosity... the backreferences thing didn't pan out at all?

On Mon, Mar 24, 2008 at 3:17 PM, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> Appreciate it. I will give it a try.
>
>
>  denstar wrote:
>  > This is probably too late to help, but I did a similar hackish job:
>  >
>  > <cfsavecontent variable="thisForm">
>  > #thisForm.editForm(url.formnum)#
>  > </cfsavecontent>
>  > <cfscript>
>  > contents = rereplace(thisForm,"<textarea[^>]*>(.*?)</textarea>","<span
>  > style='background-color:silver;'>\1</span>","all");
>  > contents = rereplace(contents,'<input[^>]+text[^>]+value[
>  > =]+["'']([^"]*)[^>]+>',"<span
>  > style='background-color:silver;'>\1</span>","all");
>  > contents = rereplacenocase(contents,"<!-- dontprintthis -->(.*?)<!--
>  > /dontprintthis -->","","all");
>  > </cfscript>
>  >
>  > The cfsavecontent contains the rendered form, with values, and I just
>  > chopped the inputs off the values, basically, leaving the value there
>  > "alone".
>  >
>  > The select box stuff was commented out, so I bet I never got that 
> working...
>  > this is a nasty way of doing things, but worked for what it was needed for.
>  >
>  > Figured I'd put the code out there, anyways. *shrug*  =]
>  >
>  > -denny
>  >
>  >
>  >
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301957
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to