1 form 2 lists

louverhiannon

New Member
Hi
I was wondering if it was possible to create one form in this form i have field (i.e language).
I want that when people choose "french" it goes in one list wich is link to differents plugin and if the choose "english" you have different plugin.
Is it possible ?
Thanks a lot
 
If you have only one option, you can create a joomla article with links "french", "English",... and then create a form for each language
 
Both Fabrik and Joomla are translated into French, so you could use the Joomla Language Manager to handle that for everything (not just the Fabrik part). But, what you are asking is possible too. You would however need to do some custom coding.... something similar to:

1) Have a drop down or whatever on a form (or list) to allow the language selection
2) Have a button or something on that form that redirects to the others (French or English) based on the selection in the dropdown

Pseudo code:

PHP:
$app = JFactory::getApplication();
if (element___selection == 'English') {
   // English form
  $app->redirect('index.php?option=com_fabrik&view=form&formid=56');
}else{
  // French form
  $app->redirect('index.php?option=com_fabrik&view=form&formid=99');
}

Dale
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top