• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Time stamp on Submission of edits from frontend?

Time stamp on Submission of edits from frontend? 11 years 4 months ago #25949

  • djaber2000
  • djaber2000's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 3
Hi,

I know that the submission date/time is logged on each submission of the form, and with the new 'Managed Directories' feature, it allows editing of submissions on the front end to users. This is a great new feature, BUT with one limitation, it does not date/time stamp on the editing submission like it does with a new submission.

Is it possible to activate a date/time stamp on front end edit submissions, like it does with the form submission?

If not is there a possible "work around" to get front-end edits logged with a date/time stamp?

Thank you.
The administrator has disabled public write access.

Time stamp on Submission of edits from frontend? 11 years 4 months ago #25950

  • djaber2000
  • djaber2000's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 3
OK, so I am trying to think of a way to do this just incase there is not a built-in option.

I was thinking of using the PHP script area that would add a timestamp to a specific field when a submission is made from the front end...... the only problem is that the PHP scripts section for 'Managed directories' does not include a $_POST php script area, like the form properties does. It only has layout and email script sections.

Maybe I am overthinking this and there is a simple solution out there to timestamp a front-end edit?
The administrator has disabled public write access.

Time stamp on Submission of edits from frontend? 11 years 4 months ago #25967

  • upbm
  • upbm's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 34
  • Thank you received: 4
Hello,

It seems normal to not be able to handle some fields database as formID, SubmissionId or DateSumitted... these are internal data for the integrity bases.
It is possible to add your own date field (as hidden field) in which you put the date of submission (in default value write to eg //<code> return date('d/m/y') ​​//</ code>) so you can edit and modify as you wish. [customize the date format according to your country].

Didier.
Last Edit: 11 years 4 months ago by upbm.
The administrator has disabled public write access.

Time stamp on Submission of edits from frontend? 11 years 4 months ago #26015

  • djaber2000
  • djaber2000's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 3
Hi upbm,


I am basically looking for a running log of front end submission edits with an auto generated timestamp; similar to the DateSubmitted that gets logged on initial form submissions. When a change to a field is made on the front end, that edit should be logged with a timestamp so there is some sort of record of what field was edited and the date/time it was changed.

When you have a few users collaborating with the same data this becomes a very important feature to have for auditing purposes, as well as for the CSV reports. Maybe an additional column called EditsSubmitted that timestamps record changes made from the front end.

I tried adding a new hidden field with the date code (as you provided), but it does not AUTO update the date/time when you edit from the front end. It captures the initial date/time on form submission, but does not auto update when re-submitting from front end, it has to be manually re-typed in, otherwise it just retains the original submission date/time.

Unfortunately front-end edits, using the managed directories feature, does not inherit any of the scripting we add to the original form fields (like the hidden date/time field above). They get treated just like regular text fields that can be edited, but do not pull current server dates/times.

I'm not sure if its possible to customize this so a that a timestamp is auto created with a Trigger whenever a fields has been updated...but that is what I am looking for.

I know that new Managed Directories features is a big step in the right direction, as having the ability to edit the submission data on the front end has been a popular request here for some time; I just think its missing this one important component of the ability to log front end edits with a date/timestamp.

Thanks.
Last Edit: 11 years 4 months ago by djaber2000.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!