Hi Mr.Pascal

2004-10-07 Thread Keyur Mistry
How are u??

I will try and let u know whether i have any problem or not.

could u pls explain me what is following line of code will do

#form['cutoff_'  i]# 
#YesNoFormat(Len(form['cutoff_'  i])
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Hi Mr.Pascal

2004-10-07 Thread Pascal Peters
 could u pls explain me what is following line of code will do
 
 #form['cutoff_'  i]#
[Pascal Peters] 

This is a form variable starting with 'cutoff_' and the value of I
appended to it. So if I (the id from your checkbox) was 10, this would
be the value of the variable form.cutoff_10.

 #YesNoFormat(Len(form['cutoff_'  i])
 
[Pascal Peters] 

This will return Yes if the form var is an empty string and No if it
isn't

Pascal
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Hi Mr.Pascal

2004-10-07 Thread Ewok
The value of #form[‘cutoff_’  i]# will be the value of a form field named
cutoff_#i#

I don’t see the original post for that but it’s probably safe to assume that
it is inside of a loop no?

Say the value of #i# is 1

Then form[‘cutoff_’  i]would be equivalent to form.cutoff_1

It would also be the equivalent of evaluate(“form.cutoff_#i#”)

The YesNoFormat() returns YESif the length of the value is greater than 0
and NO if it is not

Make sense?

_

From: Keyur Mistry [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 07, 2004 1:46 PM
To: CF-Talk
Subject: Hi Mr.Pascal

How are u??

I will try and let u know whether i have any problem or not.

could u pls explain me what is following line of code will do

#form['cutoff_'  i]# 
#YesNoFormat(Len(form['cutoff_'  i])

_

[HYPERLINK http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads]
[HYPERLINK http://www.houseoffusion.com/lists.cfm/link=i:4:180923This
Message] [HYPERLINK
http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] [HYPERLINK
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4Fast
Unsubscribe] [HYPERLINK http://www.houseoffusion.com/signin/User Settings]
[HYPERLINK
https://www.paypal.com/cgi-bin/webscr?amount=item_name=House+of+Fusionbus
iness=donations%40houseoffusion.comundefined_quantity=cmd=_xclickDonation
s and Support] 

_

HYPERLINK http://www.houseoffusion.com/banners/view.cfm?bannerid=37 \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]