NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
How to expand a browse field to a full description?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to expand a browse field to a full description? (Read 4764 times)
Mike McLoughlin
Full Member
Posts: 126
How to expand a browse field to a full description?
«
on:
December 29, 2009, 02:33:42 PM »
I have a field called vis:type which is 1 to 7 - on the browse I need to show this with its full text description (eg "Review").
Which is the best embed for this?
regards
Mike
Logged
Mike McLoughlin
Mike Grigsby
Sr. Member
Posts: 380
Re: How to expand a browse field to a full description?
«
Reply #1 on:
December 29, 2009, 03:33:28 PM »
Mike, you can format the browse column as you like (fields and formatting if you care to) and put it into a local variable. Then use that variable in the column field. Do the formatting in the embed: 3 - Inside Browse Loop | 5 - Before Table Rows.
Logged
Mike Grigsby
Credify Systems
Central Oregon, USA
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: How to expand a browse field to a full description?
«
Reply #2 on:
December 29, 2009, 07:51:05 PM »
7 states is quite a lot for this approach, but you can also put conditional transforms of the field on the conditional tab.
along the lines of
Condition: cus:gender = 'M'
Display: 'Male'
and so on.
Cheers
Bruce
Logged
Mike McLoughlin
Full Member
Posts: 126
Re: How to expand a browse field to a full description?
«
Reply #3 on:
December 30, 2009, 02:24:14 PM »
I put in 2 conditions as follows:
Condition: 'Vis:type=1'
Field: 'Review'
Condition: 'Vis:type=2'
Field: 'Assessment'
But every row shows as 'Review'.
What am I missing? Apart from a brain
Mike
Logged
Mike McLoughlin
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: How to expand a browse field to a full description?
«
Reply #4 on:
December 31, 2009, 04:39:42 AM »
The condition shouldn't be in quotes, as it is an expression....
Cheers
Bruce
Logged
Mike McLoughlin
Full Member
Posts: 126
Re: How to expand a browse field to a full description?
«
Reply #5 on:
December 31, 2009, 09:14:50 AM »
Thanks - I was thinking it was like a filter regarding quotes.
Mike
Logged
Mike McLoughlin
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
How to expand a browse field to a full description?