Ah, perfect, thanks. I found the problem: it was a small Javascript error.
I just checked in the fix in SVN; you can also fix it in your code by adding
in the following lines below line 353 of /includes/SF_FormInputs.inc:

      // replace newlines with the literal '\n' to not break the Javascript
      $cur_value = str_replace("\n", '\n', $cur_value);

-Yaron


On Thu, Mar 5, 2009 at 11:31 AM, Daniel <[email protected]> wrote:

>
> Hi Yaron
> I did setup properties, template and form on scratchpad.referata.com.
> It shows the same effect there as well. The data has gone when I use
> "edit with form".
>
> You can have a look at the pages at:
> - Property:Stiftungsrat (without autocomplete in form)
> - Property:Schlagwort (autocomplete in form)
> - Template:Stiftungsinfo
> - Form:Stiftungsinfo
> - Category:TestDst (Setup default form)
> - Stiftung1dst
> - Stiftung2dst
>
> Thanks for your help
> -Daniel
>
> On 5 Mrz., 14:35, Yaron Koren <[email protected]> wrote:
> > Could you try to duplicate this problem on a public wiki, like
> > scratchpad.referata.com?
> >
> > -Yaron
> >
> >
> >
> > On Wed, Mar 4, 2009 at 9:08 AM, Daniel <[email protected]> wrote:
> >
> > > Hi
> > > In my form, I have some fields where users can enter several text
> > > entries, each on a separate line.
> > > In this fields, I'd like to use the autocomplete function, so the
> > > field definition looks like:
> >
> > > {{{field|Fieldname|input type=textarea|rows=3|cols=38|autocomplete|
> > > list|delimiter=\n}}}
> >
> > > In the template, I use the arraymap function to display all the values
> > > on a single line, separated by commas. This looks like:
> >
> > > {{#arraymap:{{{Fieldname| }}}|\n|@@|[[Attributename::@@| ]]
> > > [{{fullurl:Spezial:Suche_mittels_Attribut/Attributename|value=
> > > {{urlencode:@@}}}} @@]}}
> >
> > > Now, when I'm entering data, everything seems to be ok.
> > > I can enter data on more then one line and autocomplete is working on
> > > every separate line. (but with an indent, which looks not very
> > > nice ;-) )
> > > Also the on page the values are displayed as expected.
> >
> > > But, if I edit the data by form again, there are no values in fields,
> > > that have more than one value in it.
> >
> > > When I change the field definition to
> > > {{{field|Fieldname|input type=textarea|rows=3|cols=38|delimiter=\n}}}
> > > everything is ok, except autocomplete of course.
> >
> > > Did I something wrong or is this a bug?
> > > Thanks for help
> > > Daniel- Zitierten Text ausblenden -
> >
> > - Zitierten Text anzeigen -
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Semantic Forms" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/semantic-forms?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to