Right I’ve done what you need to do. For this example I’ll assume you’re trying to allow a user to put a Profile Picture on.

  1. Right click your Picture Uploader and start a workflow.
  2. Put “Only when this Picture Uploader’s value’s file name doesn’t contain .jpg or this Picture Uploader’s value’s file name doesn’t contain .jpeg or this Picture Uploader’s value’s file name doesn’t contain .png”
  3. Reset input
  4. Show “Warning Text” (for a example a pop up that says “Your image needs to be .jpg, .jpg or .png. Please try again”

then

  1. Copy the above workflow, and paste it so you have two. On the second do “Only when this Picture Uploader’s value’s file name does contain .jpg or this Picture Uploader’s value’s file name does contain .jpeg or this Picture Uploader’s value’s file name does contain .png”
  2. Make a change to User (this may change depending on what you’re doing) then add field Profile Picture = this Picture Uploader’s input (this may also change)
  3. Ensure that your Picture Uploader is set to dynamic and put This User’s Profile Picture. (this may change too depending on what you’re doing)

That’ll allow your user to ONLY upload a .jpg, .jpeg or .png image and if they try to upload something other than that will tell them to put the correct image file in and will keep the Picture Uploader empty.

Hope that helps!

  • Ash
2 Likes