[SOLVED] How do you make the file field a required field

More
13 years 4 months ago - 13 years 4 months ago #16911 by Mr_Boy
Hi

Just a quick question; how would you make the Flexicontent - File field a required field ?

What we are trying to do is; when a person submits an article on the front-end they can not publish the article if there was no file uploaded/attached to the article. (Hope that makes sense :) )

I see that the other fields have that option, why doesn't the file field ?

Please let me know if you can help. Thanks in advance :D
Last edit: 13 years 4 months ago by Mr_Boy.

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

More
13 years 4 months ago #16942 by ggppdk
Hello,

The 'Required' configuration attribute is not implemented for the file field. But you can install the following modified "file field" that has the this attribute.

[attachment=0:a6a8syi2]<!-- ia0 -->flexicontent_file_field.zip<!-- ia0 -->[/attachment:a6a8syi2]

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Attachments:

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

More
13 years 4 months ago #16970 by Mr_Boy
Awesome !!!

Thank you very much for this. Knew FlexiContent was the right choice :D

Thank you again.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.342 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline