Keyword

Make Item Image a *Required Field

  • Sulaimon
  • Sulaimon's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago - 8 years 7 months ago #146932 by Sulaimon
Make Item Image a *Required Field was created by Sulaimon
Hi, I want the 'Image' Tab to be a *Required field so that users MUST insert an item Image before submitting an Item.


Thank you
Last edit: 8 years 7 months ago by Sulaimon. Reason: Clearer explanation

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

  • Sulaimon
  • Sulaimon's Avatar Topic Author
  • Offline
  • New Member
More
8 years 7 months ago #147366 by Sulaimon
Replied by Sulaimon on topic Make Item Image a *Required Field
How do I resolve this issue? Can anyone PLEASE help..........URGENT!!

Thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 7 months ago #147375 by Krikor Boghossian
Replied by Krikor Boghossian on topic Make Item Image a *Required Field
You can either set the image as an extrafield.
This has its drawbacks since the template has to be updated, or you can search for a 3rd party extension at the JED/KED which extends the item's form in the backend.

If you are strong with JS you can download the example plugin ( getk2.org/extend/extensions/90-example-k2-plugin-for-developers ) and use it to pass a JS/jQuery script which checks if the image field is empty and allows to proceed.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum