• Resolved nailon

    (@nailon)


    Hi

    I created a custom field source_URL__c to lead object on my salesforce account.

    Then I added a hidden text filed in the plugin form, and set the value to %URL%

    when I tried out the form, a new lead was indeed created but the value of the field source_URL__c was the string ‘%URL%’ and not the url where the form was embedded.

    what am I doing wrong?

    https://wordpress.org/plugins/salesforce-wordpress-to-lead/

Viewing 1 replies (of 1 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    %URL% only works in the Lead Source field.

    You need to use the salesforce_w2l_field_value filter to auto-populate your custom field.

    See Other Notes for examples.

Viewing 1 replies (of 1 total)
  • The topic ‘I set the value of a text field to %URL% but it didn't do what i wanted’ is closed to new replies.