Jump to content

Return text based on a graphic selected


sandig199

Recommended Posts

I have tried several attempts, and cannot figure this out.

 

 

I have text fields that I want to populate based on the image selected from the graphic gallery in DSF.

_____

if (Field("image") == "thisimagename.pdf") //image is a graphic field in DSF

 

return Resource("this text resource"); //return content in text frame

 

 

 

___

I cannot get this to work in DSF

 

 

 

 

What image name is DSF looking for?

Is DSF changing the image name?

 

For example, in this text rule: GetFileName(Field("image"));

DSF returns: 7c673657-c905-483e-857d-d79788325812.pdf in the store generated PDF.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...