Copied to clipboard

Flag this post as spam?

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


  • Ian Gerdes 10 posts 81 karma points
    Apr 29, 2016 @ 08:04
    Ian Gerdes
    1

    can you add a Grid layout or basic text box within a form layout?

    Morning Nicholas

    is it possible to add a grid layout element within the layout of a form for example add a text title, textbox or image within the form rows?

    the picture attached is an example of what im looking to achieve.

    thanks once again.

    enter image description here

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Apr 29, 2016 @ 17:46
    Nicholas Westby
    0

    I'm not sure I fully understand the question, but I'll respond based on what I think you mean.

    • Yes, you can create a custom field type for an image so that you can place an image anywhere you could place another field.
    • Yes, you can create a text title field type and use it similar to an image.
    • Yes, you can create multiple columns and rows in the built-in layout designer.
    • Yes, you can swap out the built-in layout designer with a new layout designer that allows you to nest grids within grids (not sure if this is what you were asking, but just in case, you should know it is possible if you want to invest the time).
    • Formulate does not come with a radio button list field type, but it would be fairly easy to create one. If you plan to create one, let me know and I'll prioritize writing that documentation to show you how that works.

    Let me know if that answers your questions or if you have further questions.

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Apr 29, 2016 @ 17:57
    Nicholas Westby
    0

    FYI, here is an actual form created with Formulate. Perhaps it will address some of your questions:

    Form

    The header and summary at the top are not part of the form, but you could make it so they could be.

  • Ian Gerdes 10 posts 81 karma points
    Apr 30, 2016 @ 07:03
    Ian Gerdes
    0

    Hi Nicholas

    Thanks for your reply once again .

    Radio buttons would be useful thanks and adding content within the layout.

    Some of the forms I need to create are complicated with drop downs, radio buttons multiple columns and rows.

    So maybe options in the layout to add custom elements like with have with umbraco.grid would be very cool.

    Eg basic text example below

    ---------------------- form

    Radio button - []urgent []not urgent

    Title -

    please enter details

    Name Tel Email Company

    -row

    Title -

    please enter details of company

    some text here

    address Time/date to call (can we put a date popup?)

    -row

    Title -

    please enter details of treatments

    some text here

    Condition. Treatments taken Detail

    • Row

    Title -

    Another title

    some text here

    -upload document

    Message

    Submit

    I can send you a pdf example of one of the forms if that would make sense?

    Massive thanks for your help.

    Regards

    Ian

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Apr 30, 2016 @ 16:48
    Nicholas Westby
    0

    A PDF example would help. If you want to upload it somewhere and link it here, that would work. Otherwise, you can send me a private message here: http://www.nicholaswestby.com/contact/

    In the meantime, here's the list of field types Formulate currently supports:

    Field Types

    And here's a sample layout (in the layout designer) that shows the variation Formulate currently supports (i.e., 1-4 columns per row):

    Layout

    I plan on extending that layout designer to support further variation later (though you can create your own layout designer if this one doesn't work for you).

    And if you want to create your own field type (e.g., a radio button list, upload, text title, rich text, date picker), you could follow the example of the drop down field type:

    Let me know if you have any further questions and I'll respond further once I see the PDF you mentioned.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies