Jump to content

Post page title/url or Htag info into a form

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>
<?php ukgirl_modal_enquire($node,'package'); ?>
<?php ukgirl_modal_enquire($node,'package','book'); ?>
<div class="clear"></div>
Many thanks for anyones help this close to Christmas!

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...