Announcement

Collapse
No announcement yet.

Adding Lines to a Multiline Text Selected From A Check List

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding Lines to a Multiline Text Selected From A Check List

    Hello,

    How can I insert multiple lines to a multiline text field selected from a checklist ?
    Every selection from the check list will be inserted with a line feed like below :

    - line a
    - line b
    - line c

    Thanks in advance.

  • #2
    Originally posted by mehmet.akturk View Post
    Hello,

    How can I insert multiple lines to a multiline text field selected from a checklist ?
    Every selection from the check list will be inserted with a line feed like below :

    - line a
    - line b
    - line c

    Thanks in advance.
    What you could try:

    create an ajaxevent onchange on the checklist (a drop down I assume?)
    then in the php section:

    {mymultilinefield}={mymultilinefield} . {mycheckfield} .'\n';

    where you need to fill in the correct fieldnames of course.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment

    Working...
    X