The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
How to Duplicate a Submission? - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: How to Duplicate a Submission? (/showthread.php?tid=973) |
How to Duplicate a Submission? - kellie - Dec 12th, 2010 Hi everyone, I hope someone can help with some code snippets (hint hint Ben :-) .) I have a scheduler that uses an internal form to create the calendar date/time entries and all the details about the event. Most of time more than not, this is a repeating event with only the date or maybe the location changing. It seems redundant for any of the clients to have to add a new submission, and then hand copy all of the same information back into the new record. I was wondering if there were any of you out there that have come up with a "Duplicate" method that I could add next to the "Add" button on the submission listing page that would duplicate the record checked, obviously creating a new submission_id and then redirecting to that new record. Then the client would just have to change the exception date. Kellie RE: How to Duplicate a Submission? - Ben - Dec 18th, 2010 Hey Kellie, What a good idea... The Form Backup module lets you do this on the grand scale: duplicate the entire form & all submissions. But I don't think there's anything out there to duplicate a single submission. I hate to say it, but it really needs to be a custom module. I am absolutely *swamped* these days (as you can tell from my really crumby response time!) but I'd very much like to add this - it's not too much work at all. If this is a real show-stopper for you, bug me again in a week or so, and I'll try to find a couple of hours to whip something up. - Ben RE: How to Duplicate a Submission? - kellie - Dec 18th, 2010 Hi Ben, Happy Holidays to you! It is not a showstopper, but it will open up the functionality for the tool set especially for those that use an internal form for managing repetitive calendar or scheduling stuff. I will bug you after the holidays. RE: How to Duplicate a Submission? - Hannes - Dec 26th, 2010 Hey Kellie, Hey Ben, after thinking about your neat idea there would be quite some use for us as well. Looking forward for a solution also it is none of the show-stoppers which hopefully will be eliminated by the next release. Cheers, Hannes RE: How to Duplicate a Submission? - garof - Jun 8th, 2015 I understand that this thread is now (very) old but I was wondering if there has been any development or if any user has managed a "hack" that would facilitate creating duplicates or "near duplicates" of a submission. By "near duplicates" I mean changing a field entry of the original submission so as to clearly mark it (e.g., if the original record has a value for name, change that in the duplicate to "copy of..."). Any help would be greatly appreaciated! |