Agile Developer

How to Validate fil...
 
Notifications
Clear all

[Solved] How to Validate file attachments ?

2 Posts
2 Users
0 Reactions
304 Views
Posts: 8
Topic starter
(@vijayapradeep)
Eminent Member
Joined: 2 years ago

How to Validate file attachments or image upload on save.


1 Reply
Posts: 602
Admin
(@axpertsupport)
Honorable Member
Joined: 2 years ago

There are two variables available to have the attached or image field values in comma separated string.

  •  Axp_AttachedFiles - is a variable that will contain the list of files (header attachments) attached as comma separated string.
  •  Axp_LoadedImages - is a variable that will contain image fields as comma separated string.

Using which, a validate expression can be defined as shown below...

  • iif((Axp_loadedimages # {}) & (Axp_attachedfiles#{}), {T}, {File/image is not loaded})

Reply
Share: