homepage Welcome to WebmasterWorld Guest from 107.22.70.215
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

    
Joomla - Breezingforms - capture URL the form was sent from
sniffles




msg:4310458
 6:23 pm on May 10, 2011 (gmt 0)

Hi

I'm using Joomla 1.5 and installed the Form Component Breezeforms.

When i create a form, after submitting i get a E-Mail, but not with all filled form entries. I.e. i have 3 dropdown fields, 3 checkboxes and two radio buttons. I only receive the entries from the first dropdown and of the three checkboxes.

Further on i want to achieve to capture the url the form was sent from, becuase i have it on different sites.

For this i used the following PHP code:

function curPageURL() {
$pageURL = 'http';
if (!empty($_SERVER['HTTPS'])) {if($_SERVER['HTTPS'] == 'on'){$pageURL .= "s";}}
$pageURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
} else {
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
}
return $pageURL;
}


It's working actually, but the main problem is and i don't know why, the form entries which aren't subitted.

I hope anyone can help me.

Thanks

 

travelin cat




msg:4311365
 3:36 pm on May 12, 2011 (gmt 0)

sniffles, welcome to WebmasterWorld. You may wish to submit this to our PHP Server Side forum: [webmasterworld.com...] as it could possibly get more traction there.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved