Skip to Content Skip to Menu

[SOLVED] File field

3 years 11 months ago - 3 years 11 months ago #322029 by silverman1
[SOLVED] File field was created by silverman1
Hello,

I have some questions about the file upload field.

1. Is it possible to make so that the admin can activate the file-field only for some users? So that if a specific user requests to upload a file, I can allow only that user to upload a file.

2. How can I make so that I receive a message, notification or an email when a user uploads a file?

3. Can I make so that the file-field only is visible if another field has a value. So if the text-field I choose is empty, the file-field will be invisible. But as soon the text-field gets a text value, the file-field will show up.
Last edit: 3 years 11 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
3 years 11 months ago #322035 by krileon
Replied by krileon on topic File field

1. Is it possible to make so that the admin can activate the file-field only for some users? So that if a specific user requests to upload a file, I can allow only that user to upload a file.

Yes, use CB Conditional to condition the file field to be accessible based off whatever conditions you like (e.g. another field or a specific usergroup).

2. How can I make so that I receive a message, notification or an email when a user uploads a file?

File field has no such functionality built in. You'd need to use CB Auto Actions to check for the fields value changing then send an email. See the below topic on how to do this.

www.joomlapolis.com/forum/153-professional-member-support/242902-solved-triggering-an-email-message-based-on-a-field-change-status#320476

3. Can I make so that the file-field only is visible if another field has a value. So if the text-field I choose is empty, the file-field will be invisible. But as soon the text-field gets a text value, the file-field will show up.

Yes, you can do that using CB Conditional.


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.

3 years 11 months ago #322072 by silverman1
Replied by silverman1 on topic File field
Great! Thank you.

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

Moderators: beatnantkrileon
Powered by Kunena Forum