TOPIC:

Variable in Textfeld übergeben 2 years 9 months ago #207444

  • Topic Author
  • deini
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 34
  • Thanks: 0
Hallo!

Ich habe in meinem Formular 2 Eingabefelder in welche der Kunde Werte eintragen kann. Diese Werte möchte ich am Schluss des Formulars noch einmal zusammenfassen.

Beispiel:
Eingabefeld 1: Kunde tragt ein "Breezingforms"
Eingabefeld 2: Kunde tragt ein "Beste"

Am Ende des Formulars soll folgender Satz stehen:
Breezingforms (Eingabefeld 1) ist das Beste (Eingabefeld 2) Formulartool der Welt.

Lässt sich das Über Variablen irgendwie lösen? Kann ich innerhalb des Formulars Varialen übergeben? Ähnlich läuft es ja bei den Mail an den Admin und den Kunden.

Danke für die Hilfe

PS. Ich arbeite mit dem Formular für Wordpress

Please Log in or Create an account to join the conversation.

Last edit: Post by deini.

Variable in Textfeld übergeben 2 years 9 months ago #207461

  • marko.bosnjak
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2222
  • Karma: 44
  • Thanks: 279
Hello,

let me ask you a question.
When you say "end of the form", are you referring to a thank you page or simply a last section or textfield of the form?
If you're thinking about a thank you page, you'll have to do it by using sessions.
Here's an example on how to achieve that: crosstec.org/en/forums/41-breezingforms-...you-page.html#203000

Let me know if you have anymore questions.

Regards,
Marko
======================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
======================================
Need to renew Pro Support?
Buy Here!
======================================
Satisfied?
Consider a Membership!
======================================
Follow us on Facebook!

Please Log in or Create an account to join the conversation.

Variable in Textfeld übergeben 2 years 9 months ago #207468

  • Topic Author
  • deini
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 34
  • Thanks: 0
Der Text ist nicht für die Danke-SEite.
Der Text soll in ein Textfeld geschrieben werden. Besser gesagt in den Textbereich einer section

Please Log in or Create an account to join the conversation.

Variable in Textfeld übergeben 2 years 9 months ago #207486

  • marko.bosnjak
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2222
  • Karma: 44
  • Thanks: 279
Hello,

here is a simple example.
There are 2 textfields named "eingabefeld1" und "eingabefeld2".
For "eingabefeld1", go to Advanced tab > Actionscript > Type > Custom > Actions > Change and paste this code in the framework:
function ff_eingabefeld1_action(element, action)
{
ff_textbereich_action(element, action);
}
For "eingabefeld2", do the exactly same thing. Go to Advanced tab > Actionscript > Type > Custom > Actions > Change and paste this code in the framework:
function ff_eingabefeld2_action(element, action)
{
ff_textbereich_action(element, action);
}
That will proceed inserted values to the textarea.

Now create a textarea named "textbereich". Go to Advanced tab > Actionscript > Type > Custom and paste this code in the framework:
function ff_textbereich_action(element, action)
{
var x = ff_getElementByName('eingabefeld1').value;
var y = ff_getElementByName('eingabefeld2').value;

ff_getElementByName('textbereich').value = x + " ist das " + y + " Formulartool der Welt.";
}
Test it out and let me know if you need any changes.

Regards,
Marko
======================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
======================================
Need to renew Pro Support?
Buy Here!
======================================
Satisfied?
Consider a Membership!
======================================
Follow us on Facebook!

Please Log in or Create an account to join the conversation.

Last edit: Post by marko.bosnjak.

Variable in Textfeld übergeben 2 years 9 months ago #207561

  • Topic Author
  • deini
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 34
  • Thanks: 0
Es hat super geklappt. DAnke für den tollen Support

Please Log in or Create an account to join the conversation.

Variable in Textfeld übergeben 2 years 9 months ago #207565

  • marko.bosnjak
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2222
  • Karma: 44
  • Thanks: 279
Great!
I'm glad it's working for you.
Let me know if you need anything else.

Regards,
Marko
======================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
======================================
Need to renew Pro Support?
Buy Here!
======================================
Satisfied?
Consider a Membership!
======================================
Follow us on Facebook!
The following user(s) said Thank You: deini

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.060 seconds

July Sale!

Discounts for all of our extensions + support. Ending July 31st!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!