Data entry form longtext with new line

The data entry form does not seem to handle ‘new line’ character.

If the ‘new line’ character (‘Enter’ key) is entered, it failed to load the saved data.

This is because of JSON not able to handle ‘new line’ character.

However, with Data elements Text type as ‘long text’, we have ‘textarea’ (multi-line box), which kind of tells us that the we can enter multiple lines of text with new lines.

Hi James,

this has been fixed in trunk / 2.15 now. Thanks for reporting.

regards,

Lars

···

On Thu, Jun 5, 2014 at 5:07 PM, James Chang jamesbchang@gmail.com wrote:

The data entry form does not seem to handle ‘new line’ character.

If the ‘new line’ character (‘Enter’ key) is entered, it failed to load the saved data.

This is because of JSON not able to handle ‘new line’ character.

However, with Data elements Text type as ‘long text’, we have ‘textarea’ (multi-line box), which kind of tells us that the we can enter multiple lines of text with new lines.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp