[cgiapp] Re: [ValidateRM] Validating dropdown boxes...does it work?
There are lots of people that want to help you, but you have to give them the tools to do so. I think I will give up for today... Give it another try, and send us the actual code. It may just be a silly little mistake like a typo that just needs another pair of eyes to spot (you are using strict and warnings right?). I always use "strict" and "warnings". :-) I am sorry I was posting too much with so little. Frustration and not being sure how much code I should throw up onto the list I guess. Anyway, the fix was the comments for the js I was using. I needed to leave the embedded author comments between the script tags for the js to work. So when I created the page, I move that info into a credits file (because I like clean code) and when the js didn't find the comments it stopped the rendering. I added the comments back in and ta-da the template with the validation works. Stupid me but it was your "give it another try" that made me look again. Thanks for that. Robert - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[cgiapp] Re: [ValidateRM] Validating dropdown boxes...does it work?
Cees Hek wrote: On 3/3/06, Robert Hicks <[EMAIL PROTECTED]> wrote: Okay, I am officially frustrated. The form on my first page is: NAME1 NAME2 NAME3 THAT WORKS! That form on page two using the same type of dropdown with the same code (except for the field names) does not. You keep sending questions to the list, but there is no where near enough information to answer them. Read your post again, and pretend that you do not have any other info at your disposal and you will see what we are dealing with. There are lots of people that want to help you, but you have to give them the tools to do so. I think I will give up for today... Give it another try, and send us the actual code. It may just be a silly little mistake like a typo that just needs another pair of eyes to spot (you are using strict and warnings right?). Cheers, Cees Thats for the encouragement. I found the problem. On one of my fields I have a popup calendar driven by Javascript. Since I started from scratch (no CSS, no JS) and added the fields into my validation they all worked (including the dropdowns; this time it was my stupid mistake). When I added the Javascripts back in to get the popups to work...boom the page doesn't render any more. I add these lines: And it stops rendereing after the "cal2.js". So now I have to figure out why that is and be on my way. Robert - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [cgiapp] Re: [ValidateRM] Validating dropdown boxes...does it work?
On 3/3/06, Robert Hicks <[EMAIL PROTECTED]> wrote: > Okay, I am officially frustrated. The form on my first page is: > > > > NAME1 > NAME2 > NAME3 > > > > THAT WORKS! > > That form on page two using the same type of dropdown with the same code > (except for the field names) does not. You keep sending questions to the list, but there is no where near enough information to answer them. Read your post again, and pretend that you do not have any other info at your disposal and you will see what we are dealing with. There are lots of people that want to help you, but you have to give them the tools to do so. > I think I will give up for today... Give it another try, and send us the actual code. It may just be a silly little mistake like a typo that just needs another pair of eyes to spot (you are using strict and warnings right?). Cheers, Cees - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[cgiapp] Re: [ValidateRM] Validating dropdown boxes...does it work?
Robert Hicks wrote: I have most of my issues fixed (I think). Is there something special that needs to be done for dropdown boxes? I have this: one two The text boxes show the errors but this dropdown box does not. Robert Okay, I am officially frustrated. The form on my first page is: NAME1 NAME2 NAME3 THAT WORKS! That form on page two using the same type of dropdown with the same code (except for the field names) does not. I think I will give up for today... Robert - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[cgiapp] Re: Validation problem
Michael Peters wrote: Robert Hicks wrote: Michael Peters wrote: Robert Hicks wrote: Everything from the down is gone. Sounds like something strange happening. The best way to track this down is to put some debug warn() statements in the code and watch your error log to see where the output is being chopped up. Specifically, look at what your run mode is actually returning. I stripped out everything. It is just a plain form..no CSS no nothing. The main form still validates but the second form does not. *sigh* Right before you return from the sub that shows the 2nd form... warn the output. What does the error log show? If it's truncated then start stepping back and see where it happens. I put warn() after everything...and nothing. I am still looking though. I have posted another related question. Basically I started from scratch and I am slowly building up the form (no CSS and stuff yet) and I hit an issue with dropdowns. Once I get past that I will keep adding on. Robert - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[cgiapp] [ValidateRM] Validating dropdown boxes...does it work?
I have most of my issues fixed (I think). Is there something special that needs to be done for dropdown boxes? I have this: one two The text boxes show the errors but this dropdown box does not. Robert - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [cgiapp] Re: Validation problem
Robert Hicks wrote: > Michael Peters wrote: > >> >> Robert Hicks wrote: >> >>> Everything from the down is gone. >> >> >> Sounds like something strange happening. The best way to track this >> down is to >> put some debug warn() statements in the code and watch your error log >> to see >> where the output is being chopped up. Specifically, look at what your >> run mode >> is actually returning. >> > I stripped out everything. It is just a plain form..no CSS no nothing. > The main form still validates but the second form does not. *sigh* Right before you return from the sub that shows the 2nd form... warn the output. What does the error log show? If it's truncated then start stepping back and see where it happens. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[cgiapp] Re: Validation problem
Michael Peters wrote: Robert Hicks wrote: Everything from the down is gone. Sounds like something strange happening. The best way to track this down is to put some debug warn() statements in the code and watch your error log to see where the output is being chopped up. Specifically, look at what your run mode is actually returning. I stripped out everything. It is just a plain form..no CSS no nothing. The main form still validates but the second form does not. *sigh* Robert - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [cgiapp] Re: Validation problem
Robert Hicks wrote: > Everything from the down is gone. Sounds like something strange happening. The best way to track this down is to put some debug warn() statements in the code and watch your error log to see where the output is being chopped up. Specifically, look at what your run mode is actually returning. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[cgiapp] Re: Validation problem
Mark Stosberg wrote: On 2006-03-02, Robert Hicks <[EMAIL PROTECTED]> wrote: I have a two forms. One on the initial main page and another to input tasks. The form on the main page gets validated correctly. I use the same "code" with the second except the fields to validate and it comes back with a blank page when I try to validate it. Robert. Your profiles look OK. I suspect the problem is elsewhere. Mark It is coming back with this much of my page: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";> Project and Task Reporting Everything from the down is gone. Robert - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[cgiapp] Re: Validation problem
Mark Stosberg wrote: On 2006-03-02, Robert Hicks <[EMAIL PROTECTED]> wrote: I have a two forms. One on the initial main page and another to input tasks. The form on the main page gets validated correctly. I use the same "code" with the second except the fields to validate and it comes back with a blank page when I try to validate it. Robert. Your profiles look OK. I suspect the problem is elsewhere. Mark Well that sucks. I was hoping I was doing something wrong there. :\ Robert - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]