craig Shell
Posts: 0
Joined: Mon Apr 21, 2014 11:33 pm

Edmunds auto review app

Edmunds Auto app.

I completed the tutorial on the Edmunds auto review app.
However it will only accept lowercase value inputs.
For example,
Audi A6 2011
Is not excepted and won't run.
You must input,
audi a6 2011

As most cell phones automatically change the input text to the uppercase letter.
I was just wondering is there a way to fix this?
Is there a JQuery snippet can be inserted?
If so, what is it and how can it be done?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Edmunds auto review app

Hi -

You have worked with this tutorial - https://www.youtube.com/watch?v=CU5jx... ?

craig Shell
Posts: 0
Joined: Mon Apr 21, 2014 11:33 pm

Edmunds auto review app

Yes that's correct!

craig Shell
Posts: 0
Joined: Mon Apr 21, 2014 11:33 pm

Edmunds auto review app

If you watch the tutorial, he never inputs Upper case letters in the make, model, year, input boxes.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Edmunds auto review app

Ok, we will check this. And update here.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Edmunds auto review app

Hi Craig,

You can use code.toLowerCase/code JS function for this goals.

So, please follow this steps:
ol
liOpen data tab./li

liClick on "Edit Mapping"./li

liNavigate to request tab./li

li Find the request parameter which you would like to process and click "Add JS"/"Edit JS" button./li

li JS editor will appear, insert the following JS code:
precode

var valueToLowerCase = value.toLowerCase();

return valueToLowerCase;/code/pre
/liliClick save./li

That's all.

For more details about toLowerCase function and others look here: https://developer.mozilla.org/en-US/d...

Regards./ol

craig Shell
Posts: 0
Joined: Mon Apr 21, 2014 11:33 pm

Edmunds auto review app

Thanks lllya,
It works great,
An easy fix.
(thank you for being so thorough with your explanation)

Return to “Issues”