Whoa, what happened there?  There some sort of filter that'll kill anything
below a long line of dashes on the list server?  Here's the code again,
minus the dashes:

<cfif thistag.executionmode EQ "start">
<cfif compareNoCase(attributes.type, "day") EQ 0>
   <select name="#attributes.name#">
      <cfloop from="1" to="31" index="i">
         <option value="#i#"<cfif i EQ attributes.currentValue>
selected="selected"</cfif>>#i#</option>
      </cfloop>
   </select>
<cfelseif compareNoCase(attributes.type, "month") EQ 0>
   <select name="#attributes.name#">
      <cfloop from="1" to="12" index="i">
         <option value="#i#"<cfif i EQ attributes.currentValue>
selected="selected"</cfif>>#monthAsString(i)#</option>
      </cfloop>
   </select>
<cfelseif ...> <!--- whatever else --->
</cfif>
</cfif>

> -----Original Message-----
> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 24, 2003 12:45 PM
> To: CF-Talk
> Subject: RE: Creating Functions
>
>
> From within your custom tag, you can output HTML just like
> normal.  The code
> would look something like this, minus validation and such:
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to