I need to create an Edit Form for entry data. This form needs to accessible publicly and have all the conditional logic of the Add Entry form we have created.
I'm trying to do the following:
1.) Pre-populate all fields from the database. I'm mimicking code from the populate drop down from entry data, which works great. But, the code that I'm using doesn't work. I think it's because I don't know what the valid key names are for the form fields. But, I could be worse off than that.
2.) After submitting the form, delete the old entry, so only the most recently created/updated version exists.
For #1, here is my code - it is not working & not erroring:
http://pastie.org/1733426
For #2, would LOVE some sample code.
Thanks.
Jennifer