Is it the server-side or client-side validation that is firing when it
should not?

If it is the client-side, and the custom scripts are based on
Prototype, there could be DOM-related issues, since Prototype rewrites
the DOM.

-Ted.

On 3/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I have this field on a web page:

<s:textfield name="user.zip.zip" label="%{getText('user.zip.zip')}"
size="10" onblur="zipChanged(this.value);"onfocus="clearCityAndStateFields();"
/>

and this validator configured for it:

    <field name="user.zip.zip">
        <field-validator type="requiredstring">
            <message key="requiredstring" />
        </field-validator>
    </field>

The only way I can pass the "Zip Code is required" validation is to remove the
validator entry.  All the other fields on the page work
fine with their validators.  Is there some issue with Javscript?  This is
the only field wired to script.

--
Scott
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to