Hi!

First of all, thanks for this nice module ... It should be easy to set up Country/State/City in the user profiles with it!
I think it would be nice if you could offer a selection of wich fields would be available for the user to fill in. In my case, for example, it would be nice to ask the user only for the country, state and city ...

Thanks in advance,
Carlos.

Comments

rconstantine’s picture

Status: Active » Postponed

For now, I think you should be able to override the theme function and more or less hide the fields you don't want to use. I think you simply set an #access for the form field to FALSE or something like that. If you do this, make sure to not check the required box or they'll be stuck.

But I can see the use for on/off controls for each field. I'm postponing this for version 2.

zottmann’s picture

OK! Thanks for your reply!

I will try what you suggested, and will keep waiting for version 2 ...

Thanks,
Carlos.

the_other_mac’s picture

I agree with original requester. More specifically, it would be nice if the displayed/required fields were configurable by country, in each country's add-on files. Not all countries have zip codes for example.

rconstantine’s picture

Defined in the add-ons? Hmm. Not sure that can be done, but it is interesting. I'll have a look.

Of course not all countries have ZIPs, but are you saying they don't have something equivalent to a postal code at all? Where? How do people get their mail? (j/k)

Anyway, when it comes to changing the names of fields, that's what the translation module is for.

moshe weitzman’s picture

what is the point of the Other field? Seems highly optional. I trie dto set its max length to zero but it still appears. That might be an easy way to let admins disable parts of the address.

rconstantine’s picture

Now that I'm actually using this module again, I'm annoyed with a couple of things, so expect some changes soon including this one.

I want to add optionality of all (or at least most) fields, renaming of fields, and default values for fields. That last one is particularly useful for sites designed for a specific geography - like a state, city, or zip.

rconstantine’s picture

Assigned: Unassigned » rconstantine
Status: Postponed » Fixed

Done. Look for a new release soon.

zottmann’s picture

Thanks! Looking forward to this new release!!

Regards,
Carlos.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.