Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11052] Win8: Implement validations in the demo app

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-09-25T08:16:00.000+0000
Affected Version/sn/a
Fix Version/sSprint 2012-03 WIN8
ComponentsWindows
Labelsdemo_app
ReporterIngo Muschenetz
AssigneeHayk Zakaryan
Created2012-09-22T05:16:17.000+0000
Updated2017-03-08T00:10:43.000+0000

Description

Entry fields in the demo app should be validated. The user should be prompted with an AlertDialog if an issue occurs. Validation scenarios: 1) Any of the charge fields are not set on Add to Report click: Prompt "Please enter [field name]" 2) Date is in the wrong format or contains anything except digits and slashes on Add to Report click: Prompt "Date should be in mm/dd/yyyy format" 3) Transaction amount has invalid characters on Add to Report click: Prompt "Invalid transaction amount" 4) If the user clicks "Home" after editing the report (charges are added or any fields have values in them): Prompt "Are you sure you want to leave the page and lose all expense report changes?" Yes/No 5) Any of the report fields are not set on Submit Report: Prompt "Please enter [field name]" 6) No charges are entered on Submit Report: Prompt "Please enter charges"

Comments

  1. Lee Morris 2017-03-08

    Closing ticket due to time passed.

JSON Source