the screenshot didn't post. Can you post the code block?

On 11/6/05, Ryan Everhart <[EMAIL PROTECTED]> wrote:
>
> Chris,
> Thanks for your replay and just and FYI on <option value="1">--</option> I
> had this value in there in case a user doesn't select a date, it puts
> 1/1/1800 in the db and i know to ignore it.
> Further I took your code and it is still doing the same thing, I have no
> idea why. I've used this code before on the same site and it works fine.
> I've been doing this 8 years now and have never seen this. Attached is a
> screen shot of my cfdump and my code. The issue is on line 87. NO IDEA!!!!
>
>
> On 11/6/05, Chris Gomez <[EMAIL PROTECTED]> wrote:
> >
> > yes, you're crazy. ;>
> > the script works fine, although I would remove/change the <option
> > value="1">--</option> line. it's redundant since you're referencing 1 in
> > the
> > cfloop.
> > I tested it using the following code.
> > Hope this helps.
> > Chris
> >
> > <cfparam name="s" default="0">
> > <cfif s eq 1>
> > <cfdump var="#RDateMonth#">
> > <cfexit>
> > </cfif>
> >
> > <cfoutput>
> > <cfif s eq 0>
> > <form action="" method="post">
> > <input type="hidden" name="s" value="1">
> > <select name="RDateMonth" class="select_xsm">
> > <cfloop index="i" from="1" to="12">
> > <option values="#i#">#MonthAsString(i)#</option>
> > </cfloop>
> > </select>
> > <input type="submit">
> > </form>
> > </cfif>
> > </cfoutput>
> >
> >
> > On 11/6/05, Ryan Everhart <[EMAIL PROTECTED]> wrote:
> > >
> > > I think i may be going crazy.. I have the following code
> > > <select name="RDateMonth" class="select_xsm">
> > > <option value="1">--</option>
> > > <cfloop index="i" from="1" to="12">
> > > <option values="#i#">#MonthAsString(i)#</option>
> > > </cfloop>
> > > </select>
> > > Nothingin fancy just a loop going from 1 to 12 and displaying the
> month
> > by
> > > name for the user on the form. However when I sumbmit the form I am
> > > getting
> > > the DISPLAY value instead of the true VALUE value. It's returning
> > > November,
> > > instead of 11 to the query. It shouldn't do this, what do you see
> > > something
> > > wrong?
> > >
> > > --
> > > Ryan Everhart
> > > [EMAIL PROTECTED]
> > > _______________________________________________
> > > List mailing list
> > > Reply to DFWCFUG:
> > > [email protected]
> > > Subscribe/Unsubscribe:
> > > http://lists1.safesecureweb.com/mailman/listinfo/list
> > > List Archive:
> > > http://lists1.safesecureweb.com/mailman/private/list
> > >
> > _______________________________________________
> > List mailing list
> > Reply to DFWCFUG:
> > [email protected]
> > Subscribe/Unsubscribe:
> > http://lists1.safesecureweb.com/mailman/listinfo/list
> > List Archive:
> > http://lists1.safesecureweb.com/mailman/private/list
> >
>
>
>
> --
> Ryan Everhart
> [EMAIL PROTECTED]
>
>
> _______________________________________________
> List mailing list
> Reply to DFWCFUG:
> [email protected]
> Subscribe/Unsubscribe:
> http://lists1.safesecureweb.com/mailman/listinfo/list
> List Archive:
> http://lists1.safesecureweb.com/mailman/private/list
>
>
>
_______________________________________________
List mailing list
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archive:
http://lists1.safesecureweb.com/mailman/private/list

Reply via email to