Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

When user uploads a wrong image type a alert box comes

  • Geppie
  • Geppie
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 2
11 years 4 months ago #229727 by Geppie
Hi there,

Is it also possible to show a valdition error like the other fields when a user uploads a wrong image type? Now a alert box pops up en goes to the profile page.

Thanks,

Geppie

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229741 by krileon
It should already error and tell them they supplied wrong file type. Where are you uploading from? Profile image page? Profile edit avatar field? An image field in profile edit?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • Geppie
  • Geppie
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 2
11 years 4 months ago #229747 by Geppie
They uploading from a image field in the profile edit. This is the same as a Profile edit avatar field right?
I have 2 image fields, one for a avatar and one for a other image on the page.


A pdf is also not possible to upload.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229750 by krileon
I'm not sure what the issue is. Please see the below where it's working fine. It shows an alert with the error and once you press ok there is a message on the page that also tells you what went wrong.

Alert:


Message:


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Attachments:

Please Log in or Create an account to join the conversation.

  • Geppie
  • Geppie
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 2
11 years 4 months ago #229753 by Geppie
I have this popup as wel but after clicking this away it's going to the profile page.
But why the alert and not like the other validations?
Is it possible to set this to normal validation? or when clicking the alert box away it's stay's on the edit profile page?

Please Log in or Create an account to join the conversation.

  • Geppie
  • Geppie
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 2
11 years 4 months ago #229778 by Geppie
Or maybe that you can fix it for some money? We have a budget for this kind of things.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum