21287 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 195 Views |
-
FROM method="GET" - recomendations

26 August 2012 at 10:05pm
Hi all,
I have a search form on a site, and i'm passing the form through to a certian url using:
$form->setFormAction('/home/search');
All good, but I want the search criteria to be in the URL, so that if the user book marks, 'likes' or links to the results, it all works. So, I use
$form->setFormMethod('GET');However, the URL now includes "SecurityID=6f9fd5058086c374bd02bf7f642a6c63aa5b39f5", which I don't particularly want in the URL.
Is there any easy way to just pass through form info, but not the security ID?
-
Re: FROM method="GET" - recomendations

26 August 2012 at 10:37pm
Also call $form->disableSecurityToken();
| 195 Views | ||
|
Page:
1
|
Go to Top |

