Comment 2 for bug 974941

Revision history for this message
jason.p.pickering (jason-p-pickering) wrote : Re: [Bug 974941] [NEW] grey-fields-data-entry-enabled

I have both custom forms as well as section forms.

For the section forms, the grey fields have been set using grey-field
management.

I realize that the J2ME cannot do anything about the custom forms, but
was suprised that the grey fields from the section forms was not used.
Maybe this is more of a blueprint than a bug?

See attached screen shot.

Regards,
Jason

On Fri, Apr 6, 2012 at 10:01 AM, Ngo Thanh Long
<email address hidden> wrote:
> Hi Jason,
>
> Are you using the http://ennrims.com/dhis server? I just checked the
> forms there and it seem to me that you are using the custom form. This
> is where the problem comes from. The J2ME application (and mobile
> web-based application) use the DataSet  and all DataElement that it
> contains as the resource to construct the data entry form. Meanwhile the
> custom form with all of its information about grey-field is stored as
> HTML code. The mobile phone cannot read and extract the grey-field from
> this very long HTML code.
>
> As a result, you don't have grey-fields on mobile J2ME.
>
> Long
>
> On 4/6/2012 3:30 PM, jason.p.pickering wrote:
>> Public bug reported:
>>
>> Using J2ME client version 138, server version 2.7 revision 6091.
>>
>> Section forms have been designed and certain data elements have been
>> "greyed". On the section forms on the web, the fields are disabled. On
>> the mobile client, the grey fields are enabled and will accept data.
>>
>> It would be expected that the grey fields would be either no present or
>> disabled on the J2ME client.
>>
>> ** Affects: dhis-mobile
>>       Importance: Undecided
>>           Status: New
>>
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/974941
>
> Title:
>  grey-fields-data-entry-enabled
>
> Status in DHIS Mobile:
>  New
>
> Bug description:
>  Using J2ME client version 138, server version 2.7 revision 6091.
>
>  Section forms have been designed and certain data elements have been
>  "greyed". On the section forms on the web, the fields are disabled. On
>  the mobile client, the grey fields are enabled and will accept data.
>
>  It would be expected that the grey fields would be either no present
>  or disabled on the J2ME client.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis-mobile/+bug/974941/+subscriptions