Just looking at Privacy_XH.
Is it necessary to have two actions on the agreement ie tick then continue?
Surely we only need one button saying "Agree" (or similar)
B
Privacy_XH
Moderator: Tata
Re: Privacy_XH
I have to admit that this is rather cumbersome, but at least some jurisdictions may require the explicitness (the German jurisdiction is quite picky, for instance). And I had originally taken this design from https://ico.org.uk/ – where it has been changed later to an opt-in version, which is now JS only (so there's no chance to opt-out, if the JS doesn't work for whatever reason).
Anyhow, you can change it easily by replacing these lines with the following (untested, though):
Code: Select all
<input type="hidden" name="privacy_agree">
<button class="submit" name="privacy_submit"><?=$this->text('checkbox')?></button>
Christoph M. Becker – Plugins for CMSimple_XH
Re: Privacy_XH
Thanks Christoph.
That works fine and is much better
B
That works fine and is much better
B
Re: Privacy_XH
This line causes a HTML validation error.
According to here action is not required on HTML5 if its not going anywhere
I've edited it in privacy.php and the error goes.
A bit pedantic I know
B
Code: Select all
<form id="privacy" name="privacy" action="" method="post">
I've edited it in privacy.php and the error goes.
A bit pedantic I know
B
Re: Privacy_XH
IIRC, the action attribute was required in HTML 4.01, so I put it in back then. Of course, it doesn't serve any useful purpose anymore. Thanks!bca wrote: ↑Tue Jun 05, 2018 10:53 amThis line causes a HTML validation error.
According to here action is not required on HTML5 if its not going anywhereCode: Select all
<form id="privacy" name="privacy" action="" method="post">
Christoph M. Becker – Plugins for CMSimple_XH