this is what happens when theres a bad id value:
Ok, thanks for detailed information. Check if result actually stored in localStorage and its has an appropriate format to be sended.
how do i check if its stored and what the value is?
ok i did what you said and the result is empty just as i suspected. Somehow Its not storing the value it receives. And I know the service response works because I get a Success confirmation. When I get a success confirmation that means the server responded with some kind of value. See below for Success confirmation:
AND THE RESULT IN THE LOCAL STORAGE ITEM IS NOTHING AS YOU CAN SEE BELOW:
Hi John,
We'll take a look.
Please do let me know what is the problem here. Because I dont know what else to do. Thanks
my Truck project is already shared with you guys so feel free to check in to see what else i might be missing. Thanks.
Ohh BTW, to get to the page:
Driver Login My Profile:
and valid driver cell phone #'s are:
"248-222-5555" should return a "1" for the id;
"248-555-2345" should return a "2" for the id;
"345-555-8765" should return a "3" for the id
any other number or anything else (no matter what it is even if its left empty) will result in the a server response of exactly "-1" always when theres not a valid driver cell phone # entered.
Hi, in service driver_profile you get a number in response from server. As we see from your screenshot you called variable in response as " id", it's not right. Every variable without name should be called as $. In service driver_profile rename variable on response tab from id to $.