IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Date Input disabled

  • 1.  Date Input disabled

    Posted Mon September 06, 2010 01:17 PM

    Hi.

    I have a form with some fields and one of them is a Date input control that when the page loads is in disabled mode.

    When the user clicks on the Edit button the fields are then enabled for editing.

    The issue is that the Date Input control when is disabled allows for the field to be edit on the first click.

    Steps
    1 - load the page with all the fields disabled
    2 - click on the calendar icon and set a diferent date
    3 - verify that the date field was changed when it shouldnt be.

    Any help?


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 2.  RE: Date Input disabled

    Posted Thu September 09, 2010 01:50 PM

    Hi
    to avoid this, you could instead set the Date Input control to read only. When the field is “Read only”, you will not see the “calendar” icon. If you want to have the “styling” associated with the disabled status, you can set both “Disabled” and “Read only” to the same property.

    hope this helps,
    Javier


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS