• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: PHP on form process

PHP on form process 7 years 8 months ago #37232

Hi there!

I need to check the value selected on a country dropdown field.

The dropdown field are built with "english name | showed to user" so that the user sees the country name in his language, but on the table is always stored the english name of the country.

I am using this script "On form process" :

if($_POST[0] == 'Spain'){
$_POST = "Pilar";
}
else{
$_POST = "Corinne";
}

I works when the selected language of the webpage is English.
But it does not work in any other language...

What's the catch ?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!