System Default Behavior For Checkboxes On HTML Forms (Doc ID 2040270.1)

Last updated on AUGUST 10, 2015

Applies to:

Oracle Utilities Mobile Workforce Management - Version 2.2.0.1.2 to 2.2.0.3.0 [Release 2.2]
Information in this document applies to any platform.

Goal

If I declare a checkbox control on an html form in the MWM application and DON'T use any java script to control what happens to the data that is saved when the user clicks or doesn't click the checkbox I seem to see the following values written into the database once the form is completed:

On the Dispatcher workstation form
----------------------------------------------

Control state     Data saved in database
----------------   ------------------------------
Checked           true
Unchecked        false

Now on the MCP (embedded browser)
-----------------------------------------------------
Control state     Data saved in database
----------------   ------------------------------
Checked           True
Unchecked        false


Notice that when I declare and use the same type of control on the MCP "True" (Captial "T") is saved into the database instead of "true" which is what happens if I execute the same form on the dispatcher workstation (not an embedded browser).

Is there any way to fix this inconsistency other than to write a java script to correct the data before it gets saved to the database ?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms