Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× Contact Enhanced is a contact component manager created to replace Joomla! core contacts component and add lots of advantages and new features (see Features ) and it offers many plugins and modules for several different purposes,
Product page | Documentation Page

Get the page URL

2 years 1 month ago #26053 by blue_Shift
Is there a script you recommend for grabbing the page url and inserting into a hidden field when the form is submitted? I'm renovating a decent size site (250 menu urls) for a client who is looking to capture this info in SalesForce. (Have added the SalesForce Organization ID and synced the field aliases to their custom fields on SalesForce.)

Please Log in or Create an account to join the conversation.

2 years 1 month ago #26054 by support
Dear blue_Shift,

That's easy to accomplish with the PHP field OR with the Javascript + Hidden Field.

I'll recommend the PHP field because you'll only need one field.

Create a new PHP Field with the following content:
$html = '<input 
	 type=hidden 
	 id='.$cf->alias.' 
	 name='.$cf->alias.' 
	 value="'.JUri::current().'" />';

Set the Field label to Hidden in the Field General Parameters and save.

You can change the type to text for testing purposes.

Best regards,

Please Log in or Create an account to join the conversation.

2 years 1 month ago #26055 by blue_Shift
Thanks. I hope you're feeling well now, and will stay that way.

Please Log in or Create an account to join the conversation.

2 years 1 month ago #26056 by blue_Shift
Is this what I should be seeing?

https://postimg.cc/0rsrBnQX

Please Log in or Create an account to join the conversation.

2 years 1 month ago #26057 by support
No. Which Joomla and Contact Enhanced versions are you using?

Please Log in or Create an account to join the conversation.

2 years 1 month ago #26060 by blue_Shift
Versions:

CE 3.9.14
Joomla 3.10.6
PHP 8.016

Template is HelixUltimate / Konstra

Please Log in or Create an account to join the conversation.

2 years 1 month ago #26061 by support
I cannot reproduce this issue locally.

Can you please create a backup and provide Administrator access so I can take a closer look?
You can use the Support > Contact Form to send the login details.

Best regards,

Please Log in or Create an account to join the conversation.

2 years 1 month ago #26062 by blue_Shift
I made the field visible/text and the output appears to be OK.

https://postimg.cc/JG9FVHb7

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback