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

SOCKET - Send Value instead of Text

6 years 2 months ago #23852 by smusselm
I have a form socket integration that is working well, except for one thing: The socket is sending over the Text instead of the Value of my picklists.

In the other program I'm integrating with, I have to populate a field by a Record ID (a long string of characters). However, when I enable the socket debug feature, I see that the form is sending the 'Text' not the 'Value' of my picklists. This is confirmed by the other program.

Is there an option somewhere to send the 'value' instead of the 'text'? If so, I can't find it.

Thanks for your help on this.

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

6 years 2 months ago #23853 by support
Dear smusselm,

I'm not exactly sure what you mean. What do you mean by "picklists"? Do you mean a Radio, Checkbox or select list?

Can you please provide a direct link to the form, so I can take a look?

Best regards,

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

6 years 2 months ago #23854 by smusselm
Sorry! Each program calls them something different. lol. I think they are 'Select Lists' in CE.

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

6 years 2 months ago #23855 by smusselm
Didn't read the entire message. Here is the form link: www.tcsmeters.com/contact-us.html . The field in question is 'Country'.

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

6 years 2 months ago #23856 by support
Dear smusselm,

I have just checked the source code and the Value and Text Fields of your Country Select List are identical, so I'm not sure what's the issue.

PS: Select is the official field's name in HTML. ;-)

Best regards,

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

6 years 2 months ago #23857 by smusselm
They are except for 'United States'. I changed just the United States for testing purposes. I thought posting text field was fine, but now that I've been granted admin privileges to the other program, I see it is not. I need the value.

Here's a portion of the array:

'powf_924c5f9c6ed3e61180fd5065f38a1a01' => ' test.com ',
'powf_98a33b78bbe7e51180ec3863bb3cc6d0' => 'United States',
'powf_6df3280ebfe7e51180ec3863bb3cc6d0' => 'Locate a Distributor',
'powf_25805dc9bfe7e51180ec3863bb3cc6d0' => '682 Piston Meter, 700 Rotary Meter',
'powf_20afd287b2e4e51180ec3863bb3cc6d0' => 'Same as previous, but testing with debug on.',
'subject' => 'Contact Form Inquiry',
'powf_18b30b3a550de8118124e0071b6a2331' => 'English',

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

6 years 2 months ago #23858 by support
Dear smusselm,

That's odd. The value is the same as the Text even for "United States". See screenshot:
storage5.static.itmages.com/i/...8396123_4373241_fd24d637c4.png

Did you clean all caches?

Best regards,

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

6 years 2 months ago #23859 by smusselm
I cleared Joomla & browser caches, but it's still not coming through. What am I missing? Does CE have it's own cache?

Attachments:

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

6 years 2 months ago #23862 by support
Dear smusselm,

I found the problem. I'll send the fix to your email in a few minutes.

Best regards,

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

6 years 2 months ago #23863 by smusselm
It works! Thank you! Now to make sure the integration works on the other side....

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