How to make form available to Registered users and above

irvinmetcalf 23 Oct, 2011
Hi,

I would like to make my form available to registered users and above only. I have seem something about watchman but can't find where to get this component. I was wondering if there was a small php snipit which could be used in HTML code of the form.
Any help would be appreciated
Regards
Irvin Metcalf
GreyHead 23 Oct, 2011
Hi irvinmetcalf ,

The Watchman plug-in is installed with ChronoForms v3; for ChronoForms v4 there's an 'Authenticator' action in the Security Group that will do what you need I think.

Bob
irvinmetcalf 25 Oct, 2011
Hi Bob,
OK, found the Authenticator but public can still see the form. I have cleared cashe on the web site and my browser to no effect.

I loaded up the form in the Form Wizard, clicked on events, added the Aurthenicator befor Show HTML, highlighted the users from Registered through to Administartor, and said No to Guests then saved the form. It still shows up for public to see the form.

I am embedding the form in an article which is public as I want the public to see the preamble to the form. I'm sure ther must be a simple explanation why it isn't working as intended. Any help appreciated

best regards
Irvin
GreyHead 27 Oct, 2011
Hi Irvin,

You probably need some action in the Authenticator OnFail event to stop the event just going to the next action. Try using a Cusotm Code action with
<?php
$mainframe =& JFactory::getApplication();
$mainframe->redirect('index.php);
?>

Bob
This topic is locked and no more replies can be posted.