Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David Zweben 265 posts 749 karma points
    Dec 05, 2012 @ 19:02
    David Zweben
    1

    Configure datatype to use document type properties for address input

    I have a 'location' document type that is used for pages that display information about a business location. It has separate fields for each part of the location's address (e.g. Street Address, City, Country, etc). I need a way to fetch and store lattitude and longitude for the address on each of these pages, but requiring the user to enter the address twice (once in the separate fields, again for this DataType) is undesirable. What would be great is if I could configure this DataType to pull data from one or more separate properties on the document type in which it's being used, and automatically perform a search and store coordinates based on that text, so no redundant data entry is required.

    To allow for overriding the values supplied in other fields (if the Maps API doesn't like the format used, for example), there could be a 'override' checkbox that switches the mode of the DataType's search field. If unchecked, the DataType's search field could show the data it is grabbing from other fields, grayed out. If checked, the behavior could revert back to the DataType's current behavior.

    I know this would represent a pretty major change, but I don't think I'm the only one who would find this extra flexibility useful.

Please Sign in or register to post replies

Write your reply to:

Draft