• 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: User to Update/delete Previous Submission - Front

User to Update/delete Previous Submission - Front 13 years 4 months ago #15807

I have a form where submissions are viewable in the users front-end account (jomsocial) area; I want to give them access to be able to 'reschedule' or 'cancel' entries that have not occurred yet.

If you picture the submissions view, I envision there would be two buttons at the end of each row: reschedule and delete.

I made a copy of the form, and renamed it as reschedule. I'm am trying to figure out the best possible way to:
1. autofill info from the submission the user is editing.
2. replace/delete the data

I think I would need to use the mapping function to replace/delete data, but I do not see much documentation on using this function.

Any help/advice would be much appreciated!
The administrator has disabled public write access.

Re: User to Update/delete Previous Submission - Front 13 years 4 months ago #15818

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 745
  • Thank you received: 66
Hello,

This is not so easily achieved, in order to autofill the form fields with the information from a particular submission you will need to first retrieve all the data submitted with the help of the submission id, then add each value in the correct field.

In order to replace/delete the data you will need to run a database query when the edit entry form is submitted that will update the values that were stored for the particular submission id according to your new submission.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
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!