Different Images on a Custom Form | Community
Skip to main content
RLepoudre
Level 2
August 28, 2024
Solved

Different Images on a Custom Form

  • August 28, 2024
  • 1 reply
  • 509 views

Within a custom form, is it possible to add logos via the image field and then use the custom field to only have one of those image fields display based on the user's associated company? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SachinJa4

Yes, in Workfront, you can customize forms to include image fields and conditionally display those images based on user attributes

 

May be you can try these below steps

Edit the custom form where you want to add the image fields.

Add multiple Image fields to the form, one for each logo you want to display. You can do this by selecting Add Field and choosing Image from the field types.

 

Upload the images (logos) you want to use in each of the image fields.

Configure the image fields to display the appropriate logos. Each field should correspond to a different logo.

 

Workfront’s built-in form logic doesn’t directly support conditional display of fields based on user attributes. You need some scripting

you could use Workfront’s API to create custom scripts or integrations that dynamically set field visibility based on user attributes.

Add a custom field to your form that stores the company information. Then, manually control which image field is visible based on this information. For example, you might have a dropdown field for selecting a company, and use it to manually select which image field to show.

 

If you have scripting capabilities (e.g., through Workfront Fusion or custom integrations), you could use JavaScript to dynamically control which image field is displayed based on user attributes.

1 reply

SachinJa4
SachinJa4Accepted solution
Level 2
August 29, 2024

Yes, in Workfront, you can customize forms to include image fields and conditionally display those images based on user attributes

 

May be you can try these below steps

Edit the custom form where you want to add the image fields.

Add multiple Image fields to the form, one for each logo you want to display. You can do this by selecting Add Field and choosing Image from the field types.

 

Upload the images (logos) you want to use in each of the image fields.

Configure the image fields to display the appropriate logos. Each field should correspond to a different logo.

 

Workfront’s built-in form logic doesn’t directly support conditional display of fields based on user attributes. You need some scripting

you could use Workfront’s API to create custom scripts or integrations that dynamically set field visibility based on user attributes.

Add a custom field to your form that stores the company information. Then, manually control which image field is visible based on this information. For example, you might have a dropdown field for selecting a company, and use it to manually select which image field to show.

 

If you have scripting capabilities (e.g., through Workfront Fusion or custom integrations), you could use JavaScript to dynamically control which image field is displayed based on user attributes.