Didn't think of that!  Okay, I will take that out and just check password on
the server side only.

On a different topic (sort of), is that the case for client variables also,
can users work a way of getting those?

Thanks,

Stuart


On 25/5/05 16:06, "Joe Rinehart" <[EMAIL PROTECTED]> wrote:

> Stuart,
> 
> You're passing the user's correct password to the clientside - someone
> will figure out how to sniff it, it's not hard to open up Flash...
> 
> -Joe
> 
> On 5/25/05, Stuart Kidd <[EMAIL PROTECTED]> wrote:
>> Hi Dave,
>> 
>> Thanks for that, that's perfect.
>> 
>> Can I ask why it may come back and bite me in the ass so that maybe I can
>> fix it?
>> 
>> Cheers,
>> 
>> Saturday
>> 
>> 
>> On 25/5/05 01:45, "dave" <[EMAIL PROTECTED]> wrote:
>> 
>>> for one you are trying to be sneaky with the password variable which of
>>> course
>>> can/will/shall come back to bite you in the ass.
>>> 
>>>  but, since this is what you are doing why not add some .as script to the
>>> filed just like you did with pw filed?
>>>  onsubmit="if( numberOfReplies.text != '-------------------' )
>>>  alert('please select an email option'); return false;²>
>>> 
>>> ~Dave the disruptor~
>>> 
>>> ----------------------------------------
>>> From: Stuart Kidd <[EMAIL PROTECTED]>
>>> Sent: Tuesday, May 24, 2005 4:57 PM
>>> To: CF-Talk <cf-talk@houseoffusion.com>
>>> Subject: CFFORM + FLASH
>>> 
>>> Hi guys,
>>> 
>>> Iım using the CFFORM tag and wanted to add some extra validation.
>>> 
>>> My tag is like so:
>>> 
>>>  action = "/?kissMyDate=yes"
>>>  format = "Flash"
>>>  skin = "haloBlue"
>>>  width = "400" height="420"
>>>  name="Part1"
>>>  onsubmit="if( password.text != '#GetUser.password#' ) {
>>> alert('Password is incorrect'); return false;}²>
>>> 
>>> I added the password validation and that worked no problem, but now Iıd like
>>> to make sure that a user always makes a selection from a combo box and NOT
>>> choose the value which is ³² (
>>> value="">-------------------).
>>> 
>>> value="#GetAdvert.numberOfReplies#" selected>Currently:
>>> #GetAdvert.numberOfReplies#
>>>  -------------------
>>>  5
>>>  10
>>>  25
>>>  Unlimited
>>>  No more, I've had enough!
>>> 
>>> As it stands if the user chooses
>>> value="">------------------- the form doesnıt have an error pop up.
>>> 
>>> I thought of either doing some javascript in the cfselect or possibly adding
>>> something to the  tag similar to the onsubmit.
>>> 
>>>  action = "/?kissMyDate=yes"
>>>  format = "Flash"
>>>  skin = "haloBlue"
>>>  width = "400" height="420"
>>>  name="Part1"
>>>  onsubmit="if( password.text != '#GetUser.password#' ) {
>>> alert('Password is incorrect'); return false;}
>>>  onsubmit="if( numberOfReplies.text != '' ) { alert('Please choose
>>> max emails to receive'); return false;}²>
>>> 
>>> Unfortunately the above comes up with an error.
>>> 
>>> If anyone could help it would be greatly appreciated.
>>> 
>>> Thanks,
>>> 
>>> Saturday
>>> 
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207663
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to