PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to include a custom form field

  1. Hello,

    I have a requirement for collecting certain kind of data.

    Ex: Dimensions: LxBxW

    This means that there would be 3 textboxes that accepts integers from 0 - 9 but all of this needs to be in one field.

    Is there a way to set this up?

    Thanks.

    Posted 13 years ago on Friday September 10, 2010 | Permalink
  2. You would have to get creative and use CSS to float the fields side by side.

    - I would recommend using top labels (not side labels) for the form settings
    - Give the Length field a Field label of "Dimensions" and a Description of "Length"
    - For the next two fields leave the Field Label blank (but give them an Admin Label so they have a label in the Admin) and then fill in the description with the measurement type.
    - Now you will need to use CSS to float the fields side by side and style them.
    - Each of the fields should be a Number field so it is numeric.

    This requires CSS knowledge to implement properly. Here is a post that discusses floating fields side by side:

    http://forum.gravityhelp.com/topic/data-fields-in-same-row

    The end result would be it would look like one field when it is actually 3.

    Posted 13 years ago on Friday September 10, 2010 | Permalink