Insert date in the upload fields

6 posts by 2 authors in: Forums > CMS Builder
Last Post: April 20, 2023   (RSS)

By andreasml - April 18, 2023

Hi

Is it possible to add a date for an upload field together with title, caption etc?

Regards, 

Andreas Lazaris

By Dave - April 20, 2023

Hi Andreas,

Unfortunately, there isn't a built-in feature to display a date field alongside the title, caption, etc. However, here's some alternatives:

  1. Modify the upload field caption to prompt users for the correct format, such as: Date (YYYY-MM-DD)
  2. Query the 'createdDate' column in the uploads table
  3. Develop a custom plugin to achieve this functionality

Feel free to reach out if you have any other questions or need further assistance.

Best regards,

Dave Edis - Senior Developer
interactivetools.com

By andreasml - April 20, 2023

Thanks, Dave

Should there be a unique plugin for all upload files in all sections or a separate one for the upload file of interest in a specific section? I am interested in the first option. 

Regards, 

Andreas

By Dave - April 20, 2023

Hi Andreas, 

It depends on what you're trying to accomplish.  What's the goal or outcome you're wanting to create?  What's the problem you're trying to solve? 

Dave Edis - Senior Developer
interactivetools.com

By andreasml - April 20, 2023

Hi Dave, 

I just want to save the date of creation of the uploaded file, as you describe in your first message. 

Andreas