There is a parameter called FieldNames which is a list of all the form
fields submitted to a page. You can use it to see what fields were passed
and you could do something like listLen(fromfields) to find out how many.

Brad

> -----Original Message-----
> From: Peter Benoit [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 16, 2000 2:17 PM
> To: '[EMAIL PROTECTED]'
> Subject: Determine the number of form fields...
> 
> 
> Hello,
> 
> I have a form, which has an uncertain number of fields.  
> These fields are
> produced dependant on data in the database, the more data, 
> the more fields.
> 
> My question is, I need to be able to perform an update/insert into the
> database, but I'll never know for sure what/how many fields 
> exist to perform
> this query.  Has anyone done something similar to this, what 
> would the best
> method to employ?
> 
> Thanks,
> Peter
> --------------------------------------------------------------
> ----------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/cf_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to