Welcome, Guest

mehrere submit mit eigener Mailadresse?!?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: mehrere submit mit eigener Mailadresse?!?

mehrere submit mit eigener Mailadresse?!? 2 years, 7 months ago #9303

Hallo Leute,

ich habe in einem erstellten Formular 4 Seiten.
Jede Seite soll einen eigenen Empfänger bekommen. Daher kann ich die Mailadresse nicht in der config Standardadresse/Spezialadresse eintagen, sondern direkt ins script vom sendebutton.
Momentan steht das drin
erster button:
function ff_cf_submit_action(element, action)
{
    error = ff_validation(2);
    if (error != '') {
        alert(error);
        ff_validationFocus();
    } else {
        ff_submitForm();
    }
} // ff_cf_submit_action

zweiter button:
function ff_cf_submit3_action(element, action)
{
    error = ff_validation(3);
    if (error != '') {
        alert(error);
        ff_validationFocus();
    } else {
        ff_submitForm();
    }
} // ff_cf_submit3_action

und so weiter

Was muss ich jetzt eintragen, damit die jeweilige MAiladresse benutzt wird und nicht die aus der Formulareinstellung?

Zusatz
Könnte es so gehen, dass unter Formularbearbeitung und Formularteile so etwas hineinkommt wie:

$this->sendMail(
if "Seite1"
ff_getSubmit(' This email address is being protected from spambots. You need JavaScript enabled to view it. ')
if "Seite2"
ff_getSubmit(' This email address is being protected from spambots. You need JavaScript enabled to view it. ')
usw

LG
Stephan
  • edel
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Last Edit: 2 years, 7 months ago by edel.
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.66 seconds

Facebook Discount - 40% Off!

Fans of our Facebook page here are entitled to get a 1-year-subscription for the price of a 6-months!

Steps to take:

  • Become a fan on Facebook (Like) here
  • Purchase a 6-months-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of your like and we'll upgrade to the 1-year-subscription

Joomla!® Forms Discount - 40% Off!

Already purchased a forms extension from a different vendor but your requirements changed and now you need a forms extension that is capable of more than just the standards? We help you to keep the costs for a change under control: Get a 40% discount on our professional membership plan! -- meaning timely unlimited access to all current and future commercial extensions, breezingforms themes & apps and Joomla!® templates at crosstec.de, including 1 year of support -- without any website limitations -- Just prove that you previously purchased another forms extension for Joomla!® from a different vendor and you are qualified.

Steps to take:

  • Purchase a 1-year-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of the purchase for the other form vendor and we'll upgrade to the professional-subscription

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany

Imprint