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
Started 16 years ago by completeRookie | 6 posts |
-
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 # -
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 # -
I happily created the prompt, then tried to enter the following (multiple lines) into the paragraph box
mr p Jones
1 any Strret
AnyTown
AnyCountybut 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 # -
Kevin if you are just entering text into the
Guidelines for User (?)BOX
just use shift enter that will create a new lineIf 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 # -
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 guidelinesas 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 # -
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 #
Reply
You must log in to post.