Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorklallen
    • CommentTimeMay 16th 2008
     
    Is there anyway to have a field grow/expand as additional text is needed rather than have it "run out of" the box like is the default behavior
  1.  
    Same issue here. Were any solutions ever found to auto expand a text field? Thanks.
    • CommentAuthordbuschho
    • CommentTimeMay 31st 2011
     
    Hello,

    While this is possible with custom javascript code, in most cases, that isn't a good solution as it's unexpected by the end user.

    Why not use a textarea, the field type designed to handle large quantities of text, which the user can expand as they feel the need to?

    Note that you can control the default size of both textfields and textareas from within the advanced tab for the given field.

    Happy to help,
    FormAssembly.com Support.
  2.  
    See my test form here: http://www.spiritcoaches.org/register-test

    What I am trying to do is pull the name from a name field and place it into a terms agreement paragraph. It works as you can see. Under the CONTACT section, type your name into the Head Coach Name field and you will see that your name shows in the TERMS section automatically. The problem is, I want the field to fit the size of the name so that there is not a huge blank space after the name and before the rest of the sentence (for short names). Also, I do not wish to cut off long names. A textarea field, as you suggest, would not work for what I am trying to do here.

    Is there any way that I can pull the variable from the Head Coach Name field and have the result print out in real time in the paragraph if I were to use a text field for the whole paragraph? Something like %%COACHNAME%% or similar. I tried that before and it was not successful but I may have had the syntax wrong. Any other suggestions?

    Also, I did find a javascript solution but as you said, it is unreliable because it only works on a limited number of browsers.