Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

How to create a blank option in fields in web apps

Guest
May 24, 2012 May 24, 2012

HI.

We have created a pretty simple webapp that lists all our teachers. One of the fields we created was a list of states drop down menu. Is there any way in the list to create a blank field - say there is no state for that person? Right now it shows none.

Here is a example of how it shows up online:

Persons Name

Goiania/GO, None 74810

Brazil

Here is a screenshot of the field I am talking about in the web app. What can I put in there beside none so nothing shows up in that field online if there is no state for that person. 

00000059.png

Thanks in advance.

TOPICS
Web apps
642
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , May 25, 2012 May 25, 2012

Hello pilatesdesigner, 

Just playing around with this, trying not to use jQuery, I did find a solution.  For the first option in your drop down, instead of None put:

&nsbp;

This is the HTML non break space. This will show up in the drop down within the web app and is then outputted as a space.

Not really the most elegant of work around's. But it works.

Hope this helps,

Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

Translate
Engaged ,
May 25, 2012 May 25, 2012

Hello pilatesdesigner, 

Just playing around with this, trying not to use jQuery, I did find a solution.  For the first option in your drop down, instead of None put:

&nsbp;

This is the HTML non break space. This will show up in the drop down within the web app and is then outputted as a space.

Not really the most elegant of work around's. But it works.

Hope this helps,

Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 25, 2012 May 25, 2012
LATEST

Thanks Chad for your help! It worked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines