|
Milan, %{*** The submit button which follows in the code further down will POST the action="htmlupdate" coded in the following statement. Error checks will also occur ***%} <form name="updForm" method="post" action="htmlupdate" onSubmit="return CheckFields(all)"> I should have included the above lines when I pasted in ... Don -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Milan Zdimal Sent: Tuesday, March 13, 2007 9:59 AM To: Web Enabling the AS400 / iSeries Subject: Re: [WEB400] Net.Data & Javascript I assume you meant tsdou1 not tsdout1. Based on your statement that the variable/field value appears to be "1 step behind" leads me to believe that the order in which your validation code is executed is incorrect. Unfortunately I can't tell based on the code above. One suggestion I might have is to add an onchange handler to your textbox that will perform the validation for that one field. Once the textbox loses focus the validation will be triggered ensuring that the value in the textbox is set and only occurs after the user has modified the field. You may need to set focus to that field after they have chosen the time from table ( tsdou1.focus() ). Otherwise, ensure that after the user has chosen the time from the table that the validation is triggered only after the value has been set in the field. I hope any of this information helps. Milan -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.