Jump to content

Post page title/url or Htag info into a form


wheaty

Recommended Posts

Good morning
Would someone be able to guide me with some coding tips?
I'm trying to post some current page info into a form on the next page.
Either pass the page url, the page title, or the H3 tags through the "Enquire" & "Book now" buttons from the below php file.
The fields on the form will then be hidden from view but passed through the submit button.
I need help passing the info in this code below:
<!--<div class="fright">-->
<p class="packagebuttons">
<a class="button print" href="#" onclick="window.print();">Print</a>
<!-- <a class="button thickbox" href="#TB_inline?height=500&width=700&inlineId=modalEnquire_<?php echo $node->nid; ?>&modal=true">Enquire</a>
<a class="button thickbox book" href="#TB_inline?height=500&width=700&inlineId=modalEnquire_<?php echo $node->nid; ?>_book&modal=true">Book</a> -->
<a class="button" href="#goto_form">Enquire</a>
<a class="button book" href="#goto_form">Book</a>
</p>
<?php ukgirl_modal_enquire($node,'package'); ?>
<?php ukgirl_modal_enquire($node,'package','book'); ?>
<!--</div>-->
<div class="clear"></div>
Many thanks for anyones help this close to Christmas!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...