• ranone

    (@ranone)


    Hi,

    I’m trying to add a submit button to the pdb-record-custom.php template that as a callback performs these three actions in sequence:

    1) change the value of a field called “submitted” from NO to YES

    2) send a confirmation email to the user (and admin) with all the data entered in the form to the user

    3) redirect the user to the page with the pdb-single-custom.php template where from that moment he will only be able to see and no longer modify the fields

    4) a message appears on the screen of the pdb-single-custom.php template that the form has been “sent” correctly

    Tks you so much @xnau

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Well, for this kind of custom coding job, you’ll need to do this on your own, I don’t provide this service. This kind of thing is certainly possible, but I don’t have anything like this in the plugin’s gists or tutorials, so I don’t have any sample code to offer.

    Thread Starter ranone

    (@ranone)

    Thanks anyway, now I will look for public methods in the plugin code that I can use to succeed ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Button “send & lock” editing record’ is closed to new replies.