Expand my Community achievements bar.

SOLVED

Setting 'Description' filed in a form using a calculated field

Avatar

Level 4

Hi,

 

I won't bore you with the reason why I need this - so here's the question .. 

 

I'm wondering if it's possibe to allow the user to enter copy into a custom form field -= then else where on the same form set the 'Description' for the request to be this field in a calculated field

 

I'm trying

 

{description}={DE:CS - MAKE - Query - Description}

 

or 

{description}={project}.{DE:CS - MAKE - Query - Description}

 

But it doesn't like it.

 

Can I assume there is no way of setting any of the global fields (like description) in this way.

 

You can only use the 'native field option - where the user has to type the text in. Rather than being able to set it with text from somewhere else.

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 6

Got it to {project}.{description} will work - you can reference any built-in fields and all custom fields. 

View solution in original post

7 Replies

Avatar

Level 6

Hi @GeraintJo 

 

You can't use a calculated field to SET another field. Calculated fields just - calculate the expression and present it on page. 

If you truly muust COPY the value of DE:CS - MAKE - Query - Description into the built-in Description field you'd need to use Fusion or the API. 

Avatar

Level 4

Thanks for the reply.

 

But I do use calulated to set the values of other fields - those I've created myself.

 

So I assume it's just a restriction on being able to do this to 'system' fields ?

Avatar

Level 6

Wow I want to see how you do that! Can you share an example screenshot? 

Avatar

Level 4

Here's one I use to bring down fields from the main request form onto individuals forms to be attached to tasks

 

GeraintJo_0-1730479179100.png

 

Avatar

Level 6

Yep that part i get - you're setting the calculated field to the value of a custom field on the project. 

 

Maybe I'm misunderstanding - what are you trying to do with this: {description}={project}.{DE:CS - MAKE - Query - Description}

 

Avatar

Level 4

yep - sorry I use a calculated 'type' field in the form

 

sorry - I can't use the actual calulation to set the value of a custom field

Avatar

Correct answer by
Level 6

Got it to {project}.{description} will work - you can reference any built-in fields and all custom fields.