[ic] Set FormIgnore dynamically at runtime?

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Thu Mar 28 21:33:01 2002


On Thu, Mar 28, 2002 at 03:34:42PM -0800, Dan Browning wrote:
> Is there any way to set FormIgnore dynamically at runtime?
> 
> I would like to make it so that a certain class of users (dealers) cannot 
> change their shipping address themselves, but regular users still 
> can.  Three ideas:
> 
> * A way to set FormIgnore dynamically (would be cool)
> 
> * A way to set FormIgnore with some ITL mixed in?
> 
> * Conditionally remove the HTML <INPUT...>'s for dealers [this method not 
> very secure]
> 
> * Reset the values during mv_click
> 
> * Any other suggestions?
> 
> Thanks,


You are using the same page for different classes of buyers,
right?  What about serving them a different version of the page?
Then you can take advantage of that to customize more than
just the address.

Stripping the HTML to make it RO is not very reliable and it
makes it hard to render the page consistently.  Don't
go that way.  
> 
> 
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | Dan Browning, Kavod Technologies <db@kavod.com>
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "Dying is a very dull, dreary affair.  And my advice to you is to have
> nothing whatever to do with it."
>                 -- W. Somerset Maugham
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users

-- 

Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux