 |

Richard
User
Mar 17, 2003, 11:50 AM
Post #1 of 4
(1453 views)
Shortcut
|
|
Out put data "Yes, No"
|
Can't Post
|
|
Looking for a way to have the out put that list filed names with the results being "yes" or "no", to have an output that will just list the option selected. Ex: Example in Auto Manager....... Power Windows Yes Power locks No Looking for Ex: Power Windows Power Locks
|
|
|  |
 |

Benjamin
Staff

Mar 17, 2003, 4:51 PM
Post #2 of 4
(1446 views)
Shortcut
|
|
Re: [Richard] Out put data "Yes, No"
[In reply to]
|
Can't Post
|
|
Hi Richard, I believe Luke just responded to you via email, but in case anyone else is interested, here's what Luke suggested.... How about setting up your dropdowns so instead of having a (,Yes,No) option, you would just have a (Leather Seats,) option. And just output the field value without a header. So if Leather Seats is selected, the word Leather Seats will be output. If you don't select anything then nothing at all will be output. 1. So in Setup Options -> Setup Listing Fields change this: Leather Seats (,Yes,No) To this: Leather Seats (Leather Seats,) 2. In your _publish_listing.html template file change this (in this example field 25 will be used for Leather Seats): Leather Seats: $lfield25$ To this: $lfield25$ 3. And change the check box fields in your _search_query.html template file from this: <input type="checkbox" name="lfield25_keyword" value="Yes"> To this: <input type="checkbox" name="lfield25_keyword" value="Leather Seats"> Is that clear? Post us back if you have any trouble - or if anyone else has any questions :-) Ben interactivetools.com
|
|
|  |
 |

Richard
User
Mar 17, 2003, 4:58 PM
Post #3 of 4
(1444 views)
Shortcut
|
|
Re: [Benjamin] Out put data "Yes, No"
[In reply to]
|
Can't Post
|
|
If these changes are made to the Auto Manager Set Up Listing Field and then to all templates, "" What is going to happen to the present data"" ?
|
|
|  |
 |

Benjamin
Staff

Mar 18, 2003, 3:33 PM
Post #4 of 4
(1422 views)
Shortcut
|
|
Re: [Richard] Out put data "Yes, No"
[In reply to]
|
Can't Post
|
|
Hi Richard, I emailed you earlier concerning this, but here's a quick response for the other forum members. By doing the above changes, the only thing that will be affected are the values for that field. You'd have to go through each listing and update the value for that field. All the other data in your database will be preserved - nothing will be lost, don't worry! :-) Ben interactivetools.com
|
|
|  |
|