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 create custom template field

  1. Have the following problem that I want to solve:

    TWO FIELDS:

    TEXT AREA (to the left ) and DROP DOWN (to the right)

    In the above example I select : (name) tag from the drop down and it shows up in the
    text area to the left.(just in form of In this way I want to create a template in the text area. Is this possible using gravity forms hooks for example ?

    Any help appreciated.

    rgards,
    Nilay.

    Posted 10 years ago on Thursday May 17, 2012 | Permalink
  2. Do you have a link to this form? I'm not 100% following you here.

    Posted 10 years ago on Thursday May 17, 2012 | Permalink
  3. Well I cannot send you a screenshot ...that would be self explanatory. But let me try to explain with a use case.

    Say I have a text field:
    MESSAGE:
    <the user types in a piece of text...>

    But he has to this several times and he would like to select a piece of text he has typed earlier...So there is another field in the same form by the side/next to the MESSAGE field.
    This is a dropdown ...where will be prepopulated using hook to show the earlier typed messages.

    So if at earlier time user had typed :

    Message 1: <Hi hello this is Tina>
    Message 2: <Hi would you be going to the beach ?>

    these two would show up in the dropdown. So now if the user selects Message 1, then
    the MESSAGE textbox mentioned above would be populated with: "Hi hello this is Tina"

    hope this explains it... a bit...

    Posted 10 years ago on Friday May 18, 2012 | Permalink
  4. Hi Drossa,

    I'm considering this for a snippet over at Gravity Wiz. On the surface it sounds like you're trying to do a canned response system. Would the "responses" be available only from text the user has entered on the current form submission or from all past form submissions as well? Is the use-case you shared the actual use-case you require this for?

    Feel free to email me at my personal email ( david@ounceoftalent.com ) to discuss further.

    Posted 10 years ago on Saturday May 19, 2012 | Permalink
  5. Dear David,
    this is a real world use case. Form 1 contains two fields on the same form page. (so not on different page). And from the dropdown we should be able to select something that should show up in the textarea. This is for example needed to created something like a wysig editor. So if we want to create a text template them we put all the template elements in the dropdown and then select each as we like when editing the text...in the textarea.

    regards,
    Nilay.

    Posted 10 years ago on Sunday May 20, 2012 | Permalink
  6. And as far as history is concerned this would be a different use case. Here in one of the fields (a single line text field), the user inputs certain term and this would be stored. Later if the user comes back and fills in the same form he should be able to choose from the earlier things that he has typed. In this too there will be a separate element (a drop down) which would be populated from the history.

    Posted 10 years ago on Sunday May 20, 2012 | Permalink
  7. Hi Nilay,

    And what are you using these forms for? Is this an internal company use form or available for the public? Do you have a link to a demo form I could see to get a better idea of your layout concept and specific usage?

    Posted 10 years ago on Sunday May 20, 2012 | Permalink
  8. David,
    coming back after some time. You can see what I meant above using this webpage.
    Not ours but similar functionality is wanted.
    https://messente.com/
    On this page if you select from Dropdown templates...it shows up in the text area.
    Similar functionality is wanted in my case. Hope this is clear enough. Cannot be clearer than this...

    regards,
    Nilay.

    Posted 10 years ago on Friday June 8, 2012 | Permalink
  9. David,
    would it be possible to attend to the above request soon ?
    thanks,

    regards,
    Nilay.

    Posted 10 years ago on Monday June 11, 2012 | Permalink