This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

paragraph field, default values over multiple lines


  1. completeRookie
    Member

    brand new user to MachForm, great product.

    second form I`m creating is to order products from the manufacturer, and so that my address is sent to the manufacturer, I have inserted a paragraph field, and then tried to set the default value that stretches over multiple lines (eg my address)

    can`t seem to do it,

    is there a trick to it, or can`t it be done?

    Posted 16 years ago #
  2. yuniar

    hmm.. what do you mean by you can't do it?

    you can't set any values at all? or else?


    MachForm Founder

    Posted 16 years ago #
  3. completeRookie
    Member

    I happily created the prompt, then tried to enter the following (multiple lines) into the paragraph box
    mr p Jones
    1 any Strret
    AnyTown
    AnyCounty

    but the default box doesn't allow you to have multiple lines,
    so I thought about javascript
    and tried using \r and \n - neither worked
    mr p Jones\r1 any Strret\rAnyTown\rAnyCounty
    or
    mr p Jones\n1 any Strret\nAnyTown\nAnyCounty
    in each case, the default values come out in a single line, rather than the multiple lines I'm trying to set.

    kevin

    Posted 16 years ago #
  4. mikebwd123
    Member

    Kevin if you are just entering text into the
    Guidelines for User (?)BOX
    just use shift enter that will create a new line

    If you want this within the form you would need to play with the code

    easer to add text above or below the form

    Mike

    Posted 16 years ago #
  5. completeRookie
    Member

    Mike, thanks for the reply,

    no, its NOT the Guidelines box, its that default values that goes into the actual paragraph.
    This form is for our own internal use only, so theres no need for guidelines

    as part of our ordering process, I want to transmit our address to the manufacturer whenever I send an email

    If I insert the text(address) as a Section Break, it will come out on the form, but not on the email, so the easiest?? method is to create a paragraph box containing our address, this way, when I send the form to the manufacturer, our address is automatically transmitted.

    naturally to save me having to re-enter our address each time, I wanted to default it into the paragraph box.

    and there's the rub, I can`t default multiple lines of text into the paragraph box.

    anyone got any solution please?

    Posted 16 years ago #
  6. Saghalie
    Pro Member

    Kevin,

    When you send the email to yourself, include the manufacturers email address to (e.g. you@yourself.com, manuf@manufbiz.com). After the {entry_data} tag put a bunch of '=' signs to show the break and put in a note for the manufacturer to send it to this address.

    Or

    You could create an email field, put the manufacturers email address in it (warn your employees not to mess with it) and do the same thing with the "Content" field as I stated above.

    Either way will work.

    Hope this helps.

    Saghalie

    Posted 16 years ago #

RSS feed for this topic

Reply