close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Trying to visually separate data output, that should not show, if data field is empty

Thread began 2/19/2011 12:07 pm by Roxana | Last modified 2/24/2011 12:22 pm by Roxana | 3677 views | 13 replies

Roxana

Trying to visually separate data output, that should not show, if data field is empty

This is not really a Dreamweaver question, but maybe someone could help me, so here it goes:

I have an online shop with catalogue and detail pages. The products offered consist of up to five components. Each of these components has its own data field. On the detail page they are listed in a column. On the catalogue page I do not want to waste vertical space and therefore list them separated by commas (this is how it used to be, until I split up the contents in different data fields to be able to list them in a column on the detail page).

So, when I insert a comma between the data fields, not as a surprise these commas will show up also for products, that have less than 5 components. This looks especially silly for products that don't list any components (5 commas in a row).

I tried forced space (with option+space), but the separation still does not look good.

Is there a way to maybe include the comma into the data set, or have a comma only be visible, if the following data field is not empty?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...