brilliantplugins
Forum Replies Created
-
There is an extensive FAQ. Try that.
- This reply was modified 5 years, 9 months ago by brilliantplugins.
None. Being able to see the issue in action would certainly be helpful.
Forum: Plugins
In reply to: [NSFW] [Brilliant Web-to-Lead for Salesforce] leads creation problemWell that’s odd. The plugin appears to be doing its job. I’d suggest asking salesforce support what is going on.
The faq:
https://wordpress.org/plugins/salesforce-wordpress-to-lead/faq/- This reply was modified 5 years, 11 months ago by brilliantplugins.
Forum: Plugins
In reply to: [NSFW] [Brilliant Web-to-Lead for Salesforce] leads creation problemSounds like your form is not configured using the proper field names. Read the FAQ or use the stock form config as a starting point.
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] track plugin data in google analyticsNow I’m really confused. Is that a typo or you want to track referrer or other “where the user came from” type data?
Google Analytics stores aggregated data, not form data (submissions). So forms attempted, forms completed, etc. Storing form data in GA is a violation of the TOS.
So you could use a redirect url to send users to a page (upon completed form submission) that tracks as a completed goal using url tracking… or one of these methods:
https://www.analyticsmania.com/post/google-analytics-form-tracking-guide/
The ability to inject custom JavaScript or trigger code on submit is not yet implemented.
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] track plugin data in google analyticsForm data or form status (eg for use in a goal)?
These are not bugs, SF configuration is a vast and complicated topic. This is a simple plugin. You do need to configure it correctly to match your SF instance to get the best results. As you can change your SF instance the plugin generally cannot make many assumptions and relies on you (the one with access to your specific account) to ensure it’s configured correctly.
See the plugin faq for more details on fields, types, custom fields, etc.
1. You should generally mirror the field type in your form (for SF built in fields). If you want a free entry “how did you hear” field, we’d recommend using a custom field.
2. I’m unclear what your question is here. You can change the field type in the plugin to a multiselect if you’d like… if you want to change the type in SF itself… do that in SF in the lead field customization options.
3. Customization of SF is outside the scope of support we can provide here. The answer is yes, you can tweak the lead layout at SF, but if you need help with that… consult SF help or support.
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Email Body Design changeThis is all covered in the readme.
FILTERS AND HOOKS
Note:
- These should be placed in your active theme functions.php or a functionality plugin.
- Never edit a plugin directly (unless you understand the implications of doing so).
- You can use Pluginception to create a custom plugin for these to make them independent of your theme: https://wordpress.org/plugins/pluginception/
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Email Body Design changeThere is not a template location, if that’s what you’re looking for.
There are filters that allow you to augment/replace either or both emails sent by the plugin.
salesforce_w2l_cc_user_email_content salesforce_w2l_cc_admin_email_contentAllows you to filter (append, prepend, modify) the email message content sent to the user or admin(s).
- This reply was modified 5 years, 11 months ago by brilliantplugins.
- This reply was modified 5 years, 11 months ago by brilliantplugins.
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Design IssueIf you disable or override the built in CSS you can style forms however you’d like.
Providing specific styling advice is generally outside what we provide as free support.
We do offer premium support for situationS like these where you’d like help from one of our developers.
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Design IssueSorry, it’s not clear what you’re asking for here. Can you provide some more details, a mock-up or link to a form like what you’re trying to achieve?
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Media queries in custom CSS fileIt’s a CSS file. There is nothing special about it. You can add custom CSS in your theme, the customizer, etc. The custom file enqueued by the plugin is just one option, and is just more css the browser parses.
So yes, media queries (written properly) should work fine.
- This reply was modified 5 years, 11 months ago by brilliantplugins.
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Phone Validation?Parsing the DOM is not required 😉
The second argument to
add_filterneeds to match the number of arguments your function accepts — that’s likely what broke your site (4 != 1).Try this instead:
add_filter('sfwp2l_validate_field', 'validatePhoneNumber', 10, 4); function validatePhoneNumber($error, $name, $val, $field){ if( 'phone' == $name ){ if ( !preg_match('~^\(*\+*[1-9]{0,3}\)*-*[1-9]{0,3}[-. /]*\(*[2-9]\d{2}\)*[-. /]*\d{3}[-. /]*\d{4} *e*x*t*\.* *\d{0,4}$~', $val)){ $error['valid'] = false; $error['message'] = 'Please enter a valid phone number in the format XXX-XXX-XXXX ext 123.'; } } return $error; }Great to hear! 👏
The markup has an ID (e.g.
sf_form_salesforce_w2l_lead_1) that includes the form ID, so you can scope your customizations to a specific form.