How to set multiple values in author field using formula language

Hi everyone, I have a problem i have a Authors field on the form and i am setting value in this field using formula language like

@setField(“Authors”;Author1) where Author1 is one field.

Now there is another field in the form called Author2 and i have to set the value of Author2 in the Authors field along with the value of Author1 so that any one from Author1 or Author2 can modify the document.

Pls help me

Thanks

Subject: How to set multiple values in author field using formula language

You can use @setField(“Authors”;Author1:Author2).The : means it will concatenate the two fields.

Subject: RE: How to set multiple values in author field using formula language

Thanks Guys it works

Subject: How to set multiple values in author field using formula language

Use : to create a list.

@SetField(“Authors”;Author1:Author2);

Or make Authors a computed field with the formula Author1:Author2 and make sure that the field Authors allows multiple values.