Setting 'Description' filed in a form using a calculated field | Adobe Higher Education
Skip to main content
Level 4
November 1, 2024
Risolto

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

  • November 1, 2024
  • 7 risposte
  • 1309 visualizzazioni

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

Questo argomento è stato chiuso alle risposte.
Migliore risposta di Sven-iX

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 😞


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

7 risposte

Sven-iX
Community Advisor
Community Advisor
November 1, 2024

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. 

GeraintJoAutore
Level 4
November 1, 2024

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 ?

Sven-iX
Community Advisor
Community Advisor
November 1, 2024

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