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.