submit not when in preview mode

Grover002 16 Aug, 2010
Hi,

Today I discovered something weird. While puzzling with the layout of one of my forms, I frequently look at a preview using the link in Form Manager (so links like /index.php?option=com_chronocontact&chronoformname=XYZ). When I pressed the submit button the form also gets submitted. But I only want this for registered users. These users get the links in their Usermenu once logged in. So how can I prevent forms to be submitted when the user is not logged in?

Cheers,
Bas
GreyHead 16 Aug, 2010
Hi Bas,

The answer to this (and your other question) is here in the forums several times. Try searching on 'getUser' for this one.

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