• 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: if isset not working!

if isset not working! 14 years 5 months ago #11952

  • Vertaxe
  • Vertaxe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I'm trying to run a script once the submit button has been pressed on my form.

This is what's in the 'on form process' area:
if (isset($_POST['form']['continue'])) {
 
include JPATH_ROOT.'/components/my_component/includes/my_script.php';
 
}

The ID of the submitter is obviously 'continue'.
Its not an issue with file location.

It was working before, no idea why it wont anymore!! :'(

Any help greatly apreciated.
Last Edit: 14 years 5 months ago by Vertaxe.
The administrator has disabled public write access.

Re:if isset not working! 14 years 5 months ago #11959

  • Vertaxe
  • Vertaxe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Please could someone help me?

I've tried everything, even reinstalled the component and reinserted the field data etc.

Is this not a known issue?
The administrator has disabled public write access.

Re:if isset not working! 14 years 5 months ago #11964

  • Vertaxe
  • Vertaxe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
This is more than just bugging me now.

I even tried a fresh Joomla install with a fresh RSForm install, made a new form with a new submit button, and yet somehow this simple bit of code still won't work!!!
if(isset($_POST['form'])){
echo '<h1>form has been submitted</h1>';
}
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!