• Resolved schmitty4437

    (@schmitty4437)


    The web to lead works fine and inputs all the fields (name, subject, etc…) However, web to cases will be missing contact name, subject, etc..

    Is there a reason for this? Am I missing something?

    Also, just a shot in the dark, does anyone know how to get the case number from salesforce and put it in a “thank you for contacting us” page?

    Thanks
    Matt

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

    (@nickciske)

    The web to case field names are different than web to lead. You need to use the correct field names for that data to transfer to a new case.

    The web to case API does not return a case number. If you want that, you’d need to use the full Salesforce API.

    Thread Starter schmitty4437

    (@schmitty4437)

    So, I tested that out. Salesforce has the input value as name for contact name. I put that into the form and now I get a 404 can’t find. When I remove the contact name label it works. Not sure why the value of Name is not working for the web to case part.

    Any ideas?

    Thanks

    Plugin Author Nick Ciske

    (@nickciske)

    name is a reserved query variable in WordPress.

    Which version of the plugin are you using? Recent versions have a prefix on field names to avoid this issue.

    Thread Starter schmitty4437

    (@schmitty4437)

    Version says 2.7.3.2 with no update available.

    what do I do with cases if salesforce says the field is called name? Is there a way around that?

    When I generate the html Case form in salesforce they have this for the contact name:
    <label for=”name”>Contact Name</label><input id=”name” maxlength=”80″ name=”name” size=”20″ type=”text” />

    Plugin Author Nick Ciske

    (@nickciske)

    Weird. It does appear to still be broken in the 2.x branch (the 3.x beta has a fix for this). I’ll get that on my priority fix list.

    Yes, the Salesforce generated from wouldn’t work in WordPress either ??

    Thread Starter schmitty4437

    (@schmitty4437)

    Yeah, I figured out that it didn’t work haha. I just use it now to see what they called their labels/inputs. Good to know there is a fix coming.

    Thanks for the help!

    Thread Starter schmitty4437

    (@schmitty4437)

    Just to make sure I’m clear with your fix coming, will there be a work around to include the name for Contact Name even though salesfoce says the field is labeled ‘name’?

    if that makes sense…

    Plugin Author Nick Ciske

    (@nickciske)

    Yes, It’ll prefix it in the DOM, but send the unprefixed value to Salesforce.

    The fix is already written, just not merged into the 2.x branch.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Web-To-Case Missing Field Input’ is closed to new replies.