Problem dealing with hashes
hi, hi. i'm modifying a form i've built, to allow field names to be dynamically altered during each iteration of a loop. as it was originally, one of its input clauses might look like this: CFINPUT TYPE=text NAME=PremAddress SIZE=30 MAXLENGTH=40 VALUE=#PremAddress#. however, as i need to add hashes for the iteration values, the same clause has come to look like this: CFINPUT TYPE=text NAME=PremAddress_#ThisIter# SIZE=30 MAXLENGTH=50 VALUE=#PremAddress_#ThisIter## and this code generates the following error message: ColdFusion was unable to determine the value of the parameter. This problem is very likely due to the fact that either: You have misspelled the parameter name, or You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, or CFTABLE tag. The error occurred while processing an element with a general identifier of (CFINPUT). what is the solution? hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. Also being sold: the Genealogy of Jamaica CD-ROM ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Duplicate name conflict error message
Thanks for the response. You're right. The problem actually is that I have more than one field in the form with the same name. The reason for this is that the form allows users to apply for insurance to cover their property or properties. As an applicant may have more than one property to be insured, I've repeated the code in that part of the form dealing with property details three times, hence the repeat occurrance of fieldnames. At first, I only used the input and form tags. However, because I needed to flag the first occurrance of the various property fields as required, I changed these to cfinput and cfform tags, but thereby ran into the problem that CF doesn't allow for repeated fieldnames (and I couldn't flag any of these fields as 'required' or 'no null allowed' in Access, since that would cause an error if an applicant had only one or two properties to be insured, and so left any of the repeated part of the form blank). Here is what I need to do: 1. I need to be able to allow users of my form to enter in details of anywhere from one to three properties, either by repeating the form code or by some other device of which I'm presently unaware, at the same time. 2. I need to be able to make the fields, in the first instance of the part of the form dealing with property details, required fields, but not any of the other instances. I'd appreciate any advice. Hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. Also being sold: the Genealogy of Jamaica CD-ROM - Original Message - From: James Taavon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 3:16 PM Subject: Re: Duplicate name conflict error message It is probably because you have two form elements with the same name. Hope that helps. [EMAIL PROTECTED] wrote: Hi, I'm getting a 'Duplicate name conflict' error message. I'm unable to solve it, because the code in which it is appearing is over 1,000 lines long. Also, the error message states: The error occurred while processing an element with a general identifier of (CFINPUT), occupying document position (380:1) to (381:39). This doesn't help me, because line 280 contains only the code /TR and line 381 is completely blank, with nothing on it at all. I don't understand, therefore, how the message could refer to line 381, position 39. I'd appreciate any advice as to how to solve the error. Hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. Also being sold: the Genealogy of Jamaica CD-ROM ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Problem with radio buttons
Hi, I've built a form in which I've built radio buttons a number of times, each time with one of the options checked. However, only some of the buttons show the check. Below is an example of each: no check showing: TD INPUT TYPE=Radio NAME=PremNight VALUE=YesYes INPUT TYPE=Radio NAME=PremNight VALUE=No CHECKEDNo/B /TD check showing: TD INPUT TYPE=Radio NAME=CustInsurerDeclined VALUE=YesYes INPUT TYPE=Radio NAME=CustInsurerDeclined VALUE=No CHECKEDNo/B /TD If the problem isn't a difference in the code between the two examples, what might be some other factors that I should consider? Hubert--- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. Also being sold: the Genealogy of Jamaica CD-ROM ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Duplicate name conflict error message
Hi, I'm getting a 'Duplicate name conflict' error message. I'm unable to solve it, because the code in which it is appearing is over 1,000 lines long. Also, the error message states: The error occurred while processing an element with a general identifier of (CFINPUT), occupying document position (380:1) to (381:39). This doesn't help me, because line 280 contains only the code /TR and line 381 is completely blank, with nothing on it at all. I don't understand, therefore, how the message could refer to line 381, position 39. I'd appreciate any advice as to how to solve the error. Hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. Also being sold: the Genealogy of Jamaica CD-ROM ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Problem with radio buttons #2
Hi, A while back, I wrote to this list about a problem with checked radio buttons I'd been having, in that some were showing as checked, while others were not. In each case the code used was the same, as I'd copied and pasted it, only changing field names. I'd been advised that I probably had nesting problems on the form, and that I should validate the form. I did so, and corrected all errors that were discovered. However, the problem with the checked radio buttons not showing as checked has continued. What else should I consider, to solve this problem? Hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. Also being sold: the Genealogy of Jamaica CD-ROM ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
This is a test. Please ignore.
This is a test. Please ignore. --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Ensuring correct data placement on submission of a form
Hi, I'm building an form allowing users to apply for insurance to cover money stored in business premises. Each applicant may have more than one premises, and each premises may have more than one safe. Because of this, I've built separate tables to store the data on each customer, premises and safe. I've also built a field for the ID number of each customer in the Premises table, and a field for the ID number of each premises in the Safe table. Beyond this, what else must I do to ensure that the data stored in the Premises table relate to the correct customers, and that the data stored in the Safe table relate to the correct premises? Hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
How to set up jumps within a CF form?
Hi, I'd like to enable the user of a form I'm creating to be able to jump from one section to the other. However, the HTML code for such a jump contains the character '#' (as in A href=displayform.cfm#continue/A) which the CF server tries to interpret, resulting in an error message (I guess it's what would be called a 'reserved' character for CF). Is there any other way to achieve such a jump, which would be acceptable to CF? Hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. Also being sold: the Genealogy of Jamaica CD-ROM ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: How to set up jumps within a CF form?
Thanks. When I used double hashes, the form worked ok. However, when I clicked on the jump my computer, instead of going to the target spot, read the code from the very beginning of the form and coming across empty field values (because, after all, I'm still making the form and I haven't filled it in yet), gave me the following error message: Error resolving parameter CUSTFIRSTNAME ColdFusion was unable to determine the value of the parameter. This is a problem, because I'm building this form as a demonstration, and the person evaluating it is likely to check if the jump works before putting in data. How can I stop my computer from reading the code above the jump? Hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. Also being sold: the Genealogy of Jamaica CD-ROM - Original Message - From: Don Vawter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 2:15 PM Subject: Re: How to set up jumps within a CF form? Escape the hash - displayform.cfm##continue - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 9:43 AM Subject: How to set up jumps within a CF form? Hi, I'd like to enable the user of a form I'm creating to be able to jump from one section to the other. However, the HTML code for such a jump contains the character '#' (as in A href=displayform.cfm#continue/A) which the CF server tries to interpret, resulting in an error message (I guess it's what would be called a 'reserved' character for CF). Is there any other way to achieve such a jump, which would be acceptable to CF? Hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. Also being sold: the Genealogy of Jamaica CD-ROM ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Can anyone recommend a reasonably reliable free CF hosting site?
Hi, Can anyone recommend a reasonably reliable free CF hosting site? Hubert --- Hubert Earl ICQ#: 16199853 My Jamaican Art, Craft More Online Store: http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html Check out the art print bargains available! Beautiful prints as low as US$7.50 each, less if you purchase 2 or more. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists