[SOLVED] state dropdown

13 years 6 months ago #145797 by webkope
Replied by webkope on topic Re:[SOLVED] state dropdown
Hi,

I have a little problem. I set own field in the Components>Community Builder>Plugin Management>CB Paid Subscriptions>Settings>Display>Invoices>CB fields for first invoicing address of customer , and the country and state field it doesn't working. The other field is perfect. In the state and country field I see the edit.front.invoice.xml names, but I'd like to use own field...

How can I fixed it?

Thanks

Please Log in to join the conversation.

13 years 5 months ago #147226 by wizkid
Replied by wizkid on topic Re:state dropdown
Hi to all,
just released a Joomla plugin that do this: CSLookup.

Is pending approval on the JED (just submitted), but you can download here:

www.sistemistica.it/cslookup.html

It works with any form and on any page, so it can also be used with CB.

Enjoy,
Luigi

Please Log in to join the conversation.

13 years 5 months ago #148234 by postnospam
Replied by postnospam on topic Re:[SOLVED] state dropdown
Wizkid,

Your State Drop down option looks like just what I need, but I'm having some problem with the syntax.

I'm using cbsubs 1.1.1 and cb 1.3.1, what would the plugin parameter be for the page, index.php?option=com_comprofiler&task=registers while the country field is named cb_countryid and the state field is named cb_state. The fields are numbered 31 and 32 respectively.

My understanding of the instructions is the syntax would be:
To display the drop down for just the country
option=com_comprofiler, view=register; task=registers; field31
or
To display the drop down for the country and state
option=com_comprofiler, view=register; task=registers; field31;field32

I've tried these and a number of variations to no avail.

Would you set me straight?

Thanks for what looks to be a nice plugin and any assistance!

Chuck

Please Log in to join the conversation.

13 years 5 months ago #148238 by postnospam
Replied by postnospam on topic Re:[SOLVED] state dropdown
I think my problem is I don't understand how to set the "id"

Please Log in to join the conversation.

13 years 3 months ago #153710 by doitsolutions
Replied by doitsolutions on topic Re:[SOLVED] state dropdown
The documents (attachments) in this thread are dead links (not found).

Do I have to mess with the invoicing XML or is there a simple way to get the state field to drop down with predefined options. I know how to do this with a new field, however the state field I have by default is marked as type "TEXT" and greyedout, can not be changed.
Do I simply need to trash this field and create a new "State" field with dropdown options? Am I loosing out on some other connection if I do this?
(I deally I would like to have the Country / State / City limited by parent field selected for each but it sounds pretty hard (without third party plugins).

Michael A.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.183 seconds