Results 1 to 1 of 1

Thread: Is it possible to create a drop-down list of data with a blank space, for the cp_stat

  1. #1
    Thread Starter
    Veteran bleem's Avatar
    Join Date
    Feb 2012
    Posts
    1,571
    Thanks
    103
    Thanked 205 Times in 180 Posts

    Is it possible to create a drop-down list of data with a blank space, for the cp_stat

    Hi,

    Is it possible to create a drop-down list of data with a blank space, for the cp_state field for example?

    The only way I can do this is to create it like this.

    --ENGLAND--,,test,test1,test2,test3,,--IRELAND--,,test,test1,test2, etc etc.

    I did it like this to create a space between each country because the drop downs are not dynamic populating.

    I am also using acfcp (Artems plugin) to inherit field data set up in the profile.

    Everything works fine using acfcp if I don't try to create a space.

    After doing this the drop down doesn't display anything as the inherited default because of either this ''--ENGLAND--'' or this ''--ENGLAND--,,'' (This is what I did to create the space)

    Does this make sense?

    Is there any way to have a space between field values or do they all have to be single comma separated values.

    I would like the drop down to look like this so it's easy for the user to differentiate between regions considering the drop down isn't dynamic populating.

    --ENGLAND--

    Bedfordshire
    Berkshire
    Buckinghamshire

    --IRELAND--

    County Antrim
    County Claire
    County Bleem

    Currently the only way to get it to work is like this:

    --ENGLAND--
    Bedfordshire
    Berkshire
    Buckinghamshire
    --IRELAND--
    County Antrim
    County Claire
    County Bleem


    I have had a word with Artem and it isn't his plugin which is at fault. Its the way that CP handles this.

    So could anyone help please? I'm sure others would like to know if this is possible?
    Please chip in if you have this issue.

    Many thanks

    Bleem.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [MOD NEEDED] Need a drop-down list to adapt to another drop down list (Region/State)
    By retorit in forum ClassiPress General Discussion
    Replies: 3
    Last Post: October 11th, 2015, 03:03 PM
  2. [SOLVED] Refine Search. Instead of Long list create a staggered list by Category/subcategory
    By f1trader in forum Vantage General Discussion (Legacy)
    Replies: 3
    Last Post: April 25th, 2014, 07:28 AM
  3. Samcy Blank space next to images
    By editorg in forum Help Using ClassiPress
    Replies: 1
    Last Post: May 20th, 2013, 11:50 AM
  4. [SOLVED] There is a large blank space on the top (above logo)
    By anuragverma1504 in forum Prima
    Replies: 5
    Last Post: December 24th, 2012, 02:11 AM
  5. There is a large blank space on the top (above logo)
    By anuragverma1504 in forum Report JobRoller Bugs
    Replies: 1
    Last Post: December 5th, 2012, 10:15 AM