Page 1 of 1

Edmunds auto review app

Posted: Mon Apr 21, 2014 11:33 pm
by craig Shell

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?


Edmunds auto review app

Posted: Tue Apr 22, 2014 12:19 am
by Illya Stepanov

Hi -

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


Edmunds auto review app

Posted: Tue Apr 22, 2014 12:51 am
by craig Shell

Yes that's correct!


Edmunds auto review app

Posted: Tue Apr 22, 2014 1:14 am
by craig Shell

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


Edmunds auto review app

Posted: Tue Apr 22, 2014 1:21 am
by Illya Stepanov

Ok, we will check this. And update here.


Edmunds auto review app

Posted: Tue Apr 22, 2014 3:34 am
by Illya Stepanov

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


Edmunds auto review app

Posted: Tue Apr 22, 2014 5:29 am
by craig Shell

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