TOPIC:

Artikelkategorie in Formular angeben 3 years 8 months ago #219962

  • adlerauge1980's Avatar Topic Author
  • adlerauge1980
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 34
  • Thanks: 0
hi marinko

big thanks for your helbs!

how i must do it, thats this is working?
- new Form
- new Select-list

and then?

best regards

Roger
Verwende folgende Systeme / Komponenten in jeweils der aktuellsten Version:
- Joomla
- Breezingforms
- ContentBuilder

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

Artikelkategorie in Formular angeben 3 years 8 months ago #219967

  • marinkosevo's Avatar
  • marinkosevo
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 747
  • Karma: 27
  • Thanks: 92
Example, you create a form, with select list containing following:
Create article for category 1
Create article for category 2
Create article for category 3
Now, you should go in submit pieces, and use a code like this:
$this->execPieceByName('ff_InitLib');
if(ff_getSubmit('form1') == 'category1'){
JFactory::getApplication()->redirect('category1.php');
}
else if(ff_getSubmit('form1') == 'category2'){
JFactory::getApplication()->redirect('category2.php');
}
else if(ff_getSubmit('form1') == 'category3'){
JFactory::getApplication()->redirect('category3.php');
}
JFactory::getApplication()->redirect('category1.php') -> This piece of code redirects you to a page category1.php, so basically you would have a form for every category you would like, and redirect to that form when it is selected in select list.

Best regards,
Marinko

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

Artikelkategorie in Formular angeben 3 years 8 months ago #220002

  • adlerauge1980's Avatar Topic Author
  • adlerauge1980
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 34
  • Thanks: 0
Dear Marinko

Thanks for your manual!
but i not correctly understand, where I have to insert the code. Sorry.
the princip from the Code i understand. Only the ('form1') name, it's this the Name from the Form or the Name from the Select-List?

Thanks again.

Roger
Verwende folgende Systeme / Komponenten in jeweils der aktuellsten Version:
- Joomla
- Breezingforms
- ContentBuilder

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

Artikelkategorie in Formular angeben 3 years 8 months ago #220047

  • marinkosevo's Avatar
  • marinkosevo
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 747
  • Karma: 27
  • Thanks: 92
It is the name of the select list, sorry. Please refer to this for redirects after submit, you have everything explained there.
crosstec.org/en/support/online-documenta...-thank-you-page.html

Best regards,
Marinko
The following user(s) said Thank You: adlerauge1980

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

Artikelkategorie in Formular angeben 3 years 8 months ago #220107

  • adlerauge1980's Avatar Topic Author
  • adlerauge1980
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 34
  • Thanks: 0
Dear Marinko

big thanks, this runing fine! and i'm happy :)
I have also another question, for this i will start a new post. i'ts an other theme.
Verwende folgende Systeme / Komponenten in jeweils der aktuellsten Version:
- Joomla
- Breezingforms
- ContentBuilder

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

Artikelkategorie in Formular angeben 3 years 8 months ago #220109

  • marinkosevo's Avatar
  • marinkosevo
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 747
  • Karma: 27
  • Thanks: 92
Great, I am happy that it is working for you.

Best regards,
Marinko

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

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.051 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

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!