Forums

Custom code skipped after Joomla registration

megana 22 Jan, 2015
Hi there,

I set up a custom Joomla registration form with Chronoforms and it works great. But I also want to run some custom code after the registration is saved.

My "on submit" event has the following:
- Joomla Registration
- Custom Code
- Display Message

In the Custom Code block, I just put the following:

<?php
echo "HERE"; die();
?>


But when I test the form, it registers the user account and displays the message, skipping straight over the custom code.

Help?
GreyHead 24 Jan, 2015
Hi megana,

Does it work with just
<?php
echo "HERE";
?>
?

Bob
megana 26 Jan, 2015
Nope, that's why I added the die. It wasn't running my custom code, so I tried making it just echo something, but it wouldn't do that, so I added the die to be absolutely certain it wasn't even hitting the custom code. And still nothing. :?

I'm having a similar problem on another form now too, on the same site. I added a custom code block followed by an email block, but it skips the custom code and just sends the email.
megana 26 Jan, 2015
And now it magically started working again...

Okay ignore me, I don't know what the deal was.🙂
This topic is locked and no more replies can be posted.