[Solved] Sent url value with form
Posted: Mon Mar 17, 2014 2:02 pm
On serveral website pages I've made a button to sign in or get infomation. With this button I sent some infomation of that page in the url.
On the form page I can print that information.
But I can't get it to work to sent this infomation with the form.(Formbuilder)
Is that possible and how do I do this?
This is the code I'm getting the infomation in the url:
This is the code for getting te information out of the url
On the form page I can print that information.
But I can't get it to work to sent this infomation with the form.(Formbuilder)
Is that possible and how do I do this?
This is the code I'm getting the infomation in the url:
Code: Select all
<a href="{cms_selflink href='inschrijven'}?value={$entry->title|cms_escape}-{$entry->postdate|cms_date_format}">inschrijven</a>This is the code for getting te information out of the url
Code: Select all
if ( isset( $_GET['value'] ) ) { // controleren of $_GET['value'] bestaat
echo '<p>' . $_GET['value'] . '</p>';
}
else {
echo '<p>Uw vraag is verzonden!</p>';
}