My stylesheets tend to get long at times and I find I am constantly fishing around looking for colors to use. So I asked a friend at work about it and he created a dremweaver extension that will pull all of your colors from your css ot html fil and display them all in one place.
Another cool...
this value is pulled from the data base and at the moment it would be a total of three dates. It basically takes the original date that the users inputs and calulates two dates from that so we have:
form.txtFFFirstDate
form.txtFFDateSet2
form.txtFFDateSet3
this original app works the...
no I understand that you can't use elements that have not been created. I was assuming that they were created by the loop. t anyrate I am now getting an error message consistent with what you said above
Variable form.txtFFDateSet2 is undefined.
The error occurred in FFAddset.cfm: line 9...
ok I removed the I and wrote the line like this:
<script type="text/javascript">
alert("<cfoutput>#DateFormat(form.txtFFDateSet,"MM/DD/YYYY")#</cfoutput>");
window.close();
</script>
and now I am getting:
Element TXTFFDATESET is undefined in FORM.
the page before this one (the first loop)...
ok I made the two changes that you suggested above.
I changed the first loop to:
<input type="hidden" name="txtFFDateSet<cfoutput>#form.txtFFDateSet#</cfoutput>">
and the second loop to:
<cfloop index="i" from="2" to="#SESSION.Order.FrequentFlyer.Count#">
<cfset...
also I changed the var names to dtTargetDate1 instead of tTargetDate[i] but this throws an undefined error as well:
Error Occurred While Processing Request
Variable DTTARGETDATE1 is undefined.
The error occurred in C:\HCDInetpub\hcimail.haines.com\Main\FFEditSet.cfm: line 131
129 ...
ok I changed the first loop to:
<cfloop index="i" from="2" to="#SESSION.Order.FrequentFlyer.Count#">
<tr>
<td>
Date <cfoutput>#i#</cfoutput>:
<input type="text" name="txtFFDateSetMonth[<cfoutput>#form.txtFFDateSetMonth#</cfoutput>]" class="txtboxdt" maxlength="2"...
sorry about that I posted this on a few boards so lost track of what I posted where as far as the error. Anyway here is the form tag:
<cfform name="frmFF" action="FFAddSet.cfm" method="post" onsubmit="return validateform();">
and here is the error:
Error Occurred While Processing Request...
the referring page has a loop that generate the value for the page that is getting the error and I am thinking that the value is not being passed to that page.
<cfloop index="i" from="2" to="#SESSION.Order.FrequentFlyer.Count#">
<tr>
<td>
Date <cfoutput>#i#</cfoutput>...
I am trying to debug a form that is basically a popup where the user enters a date and then two more dates are generated based off of date and the user can then edit those dates. When the user tries to save the second set of dates the "Element is undefined in a Java object of type class...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.