You are viewing limited content. For full access, please sign in.

Question

Question

Filling Address Collection fields using outside data source

asked on December 14, 2016 Show version history

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. 

0 0

Replies

replied on December 14, 2016

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.

0 0
replied on December 14, 2016

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

0 0
replied on December 14, 2016

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:

 

0 0
replied on December 15, 2016

would you mind sharing your CSS for this formatting?

0 0
replied on January 19, 2017 Show version history

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

0 0
replied on December 15, 2016

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. 

0 0
replied on June 1, 2020

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.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.