Page 1 of 1

Multiple response parameters in one label

Posted: Tue Jul 22, 2014 12:55 am
by Peter Viglietta

Please see screenshot below:

Image


Multiple response parameters in one label

Posted: Tue Jul 22, 2014 4:52 am
by Yurii Orishchuk

Hi Peter,

Please follow this solution:

1 Open your list mapping.

2 Delete two links to the "City.Text": http://prntscr.com/45319x/direct

3 Click on "add js" on "mobileListitem_29" and populate it with following code:

pre

element.find("h3").text(value.city + ", " + value.state);

/pre

That's all.

Regarsd.


Multiple response parameters in one label

Posted: Tue Jul 22, 2014 11:26 pm
by Peter Viglietta

Yurii, thanks for the response. This didn't work though, the list item came out blank.


Multiple response parameters in one label

Posted: Wed Jul 23, 2014 2:29 am
by Peter Viglietta

Thanks for the response. This didn't work though, the list item came out blank.


Multiple response parameters in one label

Posted: Thu Jul 24, 2014 12:54 pm
by Evgene Karachevtsev

Hello Peter,

Could you please try on the mapping mobilelistitem_29 to use this code?
preelement.find("[name=City]").text(value.city + ", " + value.state);/pre


Multiple response parameters in one label

Posted: Fri Jul 25, 2014 4:20 am
by Peter Viglietta

That did it, thanks Evgene!