Jump to content

Pages display select box comma separated without space

Featured Replies

Posted

Here is the output: Services: Shared Hosting,VPS Hosting,Dedicated Hosting,Email Hosting,Domain Registration

Is there a way to add space between each of them?

Show how you print that. 

EDIT: you mean from a Field (DB)?

Edited by Adriano Faria

  • Author

Yes Field DB. Select Box with options, there is no space after comma, it looks so odd.

I am displayin' with simple {$formValue}😕

Edited by iJeff

  • Community Expert

Why $formValue? The prepared statement is in $value. If you want to do it manually, there is a CSS class to style CSV lists properly. The $value output should use that automatically. 

  • Author
2 minutes ago, opentype said:

there is a CSS class to style CSV lists properly.

Could please elaborate, i had not noticed it yet?

5 minutes ago, opentype said:

Why $formValue? The prepared statement is in $value. If you want to do it manually, there is a CSS class to style CSV lists properly. The $value output should use that automatically. 

Thanks $value fixed it 😄

 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.