Daniel, there are a lot of questions in one topic here so I will do my best to address them all.
Also, we can't see your form preview - that is visible to logged in members with proper permissions (not the general public or any other visitor.)
I need the system to generate 1- an email to the "receiver" of the card, including his own data and some data concerning the "sender" (all of this provided through the form by the "sender") and, most important, the url link to the card
I'm not sure what the card is or how it was created, and if it is created outside Gravity Forms, how the URL is generated.
I assume in your form you are going to have the two email addresses, one for sender and one for receiver. If that is the case, you can send the user notification to the "receiver". You can include the link to the card, but I'm not sure how that URL is generated or when.
and 2- a notification message to the "sender" of the card (ideally an email but I could be satisfied with a screen display if the "email" function is already used for the "receiver".
You can use the gform_after_submission hook to send a notification to the sender, if you need to, but it's much easier to just display the confirmation on-screen. You could also send the user notification to the sender, as well as recipient, as a copy of what was sent.
In an ideal world, I would have also liked the system to display, as the last page of the form, kind of a "summary" of the data provided and asking to click "Send" if everything was OK.
To satisfy this requirement, please see this additional functionality which was coded by one of the Gravity Forms developers: http://gravitywiz.com/2012/08/04/better-pre-submission-confirmation/
Please try putting some of this online and sharing a link to your form so we can try it out. Let us know where you get stuck. This is a fairly advanced custom use of Gravity Forms, but it can all be accomplished. It will require some work on your part to make it all work seamlessly.
Posted 9 years ago on Wednesday November 7, 2012 | Permalink