Do you really want the title to _store_ the 2 fields or you only expect it
to _display_ the 2 fields?

I assume it is the second case. You can use velocity in the title field of
a document.

So you can do something like:
$doc.get('field1') - $doc.get('field2")

I hope it helps,
LM


2014-03-18 20:23 GMT+01:00 DeHaynes <[email protected]>:

> I have a form.  I want the title to be changed to a combination of two
> fields
> on the form whenever it is saved.  Can someone point me in the right
> direction to learn how to accomplish this?
>
> Sorry if this is a newbie question.
>
>
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Change-Title-On-Save-tp7589667.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to