How do I use the address collection field in my Form and fill out the individual line items using Lookup Rules and an outside data source - street address, city, state, zip etc.
Question
Question
Filling Address Collection fields using outside data source
Replies
Maybe someone has a way to use the field but we don't use the Address field at all because of this question. We have the address fields as separate normal fields and do the normal lookup rules on them.
Do you have them formatted at all? I currently have mine as individual fields as well but they take up so much room on the form and it doesn't have a very appealing look
Yes, we format the fields using CSS. Obviously the initial layout will look much worse than the pre-built collection, but with CSS we can make it look very similar to that of the pre-built one, but with less hassle identifying the fields.
Layout look:
Preview using CSS:
would you mind sharing your CSS for this formatting?
I think the CSS for the above looks like this:
If you want to hide the label, but show the help text, this CSS worked for me:
Hope this helps
Doug's approach is definitely a good approach to this problem. If you want to continue using the built in address field, you can have a hidden field populated with the address from a lookup. Then use some jquery to fill in the address field.
I know these are old responses. I am trying to find out if there is any more information on this topic? I have full addresses in a SQL table and I need to pull those into the pre-built address fields in forms. The address variables are not showing up to choose from in the Lookup section.