facebook

FORM submit does not include checkbox:off – CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #346122 Reply

    OS: Win7 Home Premium SP1
    MOBI: 2.6.1 (20140109)
    Apache Cordova 2.9 and iPhone 4/4S IOS: 6.3 and iPOD IOS: 7.0.4
    APP: TestFormPresub.mobi attached

    Hello Support,

    I attached a small test program to illustrate a FORM related issue I have noticed.

    PROBLEM:
    The form has:
    a checkbox input
    a text field -f1 is filled by the user,
    and a result field to describe what happens.

    R-Click on the Simulator and select Inspect Element
    Then select NETWORK on the top menu of the Inspector window.

    Here is what happens:

    Checkbox field is checked.
    Type something into f1 and then press submit. I typed “******”.

    Look at the Query String Parameters of the Headers display:

    checkbox1:on
    f1:******
    result:This is to demonstrate that ...

    >>> checkbox1 field is in the outgoing transaction.

    Then UNCHECK the checkbox field, and press submit again.

    Look at the Query String Parameters of the Headers display:

    f1:******
    result:This is to demonstrate that...

    >>> There is NO checkbox1 field in the outgoing transaction.

    I am also including the screen captures of the two cases below:

    Checkbox=ON
    See attachment FormCBon.PNG

    Checkbox=OFF
    See attachment FormCBoff.PNG

    See attachment TestFormPresub.mobi

    Attachments:
    You must be logged in to view attached files.
    #346139 Reply

    support-michael
    Keymaster

    I believe this is standard submission behavior for html to only include the checkbox parameter when it is checked/enabled. I’ll sync with dev team to confirm tomorrow morning.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: FORM submit does not include checkbox:off – CLOSED

You must be logged in to post in the forum log in