• sbrinaz

    (@sbrinaz)


    I am trying your plugin with not much success overall. Vtiger 6.4 and contact form 7….even with regular fields in Vtiger..but the important part is custom fields…I can’t figure out exactly how to setup things in your plugin. Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author zaus

    (@zaus)

    Some VTiger references:

    You’d set Vtiger’s “Post URL” as the service endpoint, and include the “Public Id” as a static value (check the checkbox column) in the mapping (don’t need to put it as a hidden field in your CF7 form).

    Then, per the following quote, you just map each CF7 field name (the stuff in the shortcode brackets like [your_email] without the brackets) to Vtiger’s “Webforms Reference Field” (whatever that is).

    Your existing form might have different field names. The names should be changed according to the Webforms Reference Field name. The values will be found in the detail view of your web form record in Vtiger CRM.

    I’m assuming the ‘custom fields’ are just arbitrarily labeled input fields in Vtiger and should behave similarly.

    • This reply was modified 8 years ago by zaus.
    Thread Starter sbrinaz

    (@sbrinaz)

    Appreciate getting back to me….I read through the webform doc you sent also….the fields that are in Vtiger as non custom fields..they come over just fine…but the custom fields are not:

    Few things…in the web reference field it shows a space between label and the name etc…like the following:

    label : Last Name Member 2
    in the actual database it shows like (which is called the Neutralized Field):
    label:Last Name Member 2

    Since in the link https://helpdocs.vtiger.com/docs/webforms is shows id:fieldname I left no space in between and that is how the field is in the database…

    Here is the text within the form in reference to what is the topic. I don’t know if it is a syntax of what actually putting in WordPress…

    <p><strong class=”form-title”><label for=”firstname”>First Name (required)</label>
    [text* firstname id:firstname]</p>

    <p><strong class=”form-title”><label for=”lastname”>Last Name (required)</label>
    [text* lastname id:lastname]</p>

    <p><strong class=”form-title”><label for=”birthday”>Date of Birth (yyyy/mm/dd)</label>
    [text birthday id:birthday]</p>

    <p><strong class=”form-title”><label for=”Marital_Status”>Marital Status</label>
    [select label:Marital_Status “Select One””Married” “Single”] </p>

    <p><strong class=”form-title”><label for=”Place_of_Birth_Member_1″>Place of Birth #1</label>
    [text Place_of_Birth_Member_1 id:label:Place_of_Birth_Member_1]</p>

    <p><strong class=”form-title”><label for=”Last_Name_Member_2″>Last Name Member 2</label>
    [text Last_Name_Member_2 id:label:Last_Name_Member_2]</p>

    Related to your plugin:

    The submission URL is the PostURL that is in the webform:

    https://MYURLTOVTIGER/modules/Webforms/capture.php

    I choose the correct form to associate to

    I have no hooks done in the plugin.

    I can’t post a photo here to show you the fields and mapping but using one of the custom fields below since that is one that is not showing up:

    Label=Last Name Member 2
    Form submission field: Last_Name_Member_2
    Third Party Field: label:Last_Name_Member_2

    I did have the Public ID as followed
    Check box (is value) = yes (checked)
    Form submission field is the public ID from the webform
    the 3rd party field is blank.

    ANY suggestions on maybe what is wrong or need to add/subtract or something else is GREATLY appreciated….thanks in advance.

    Steve

    Plugin Author zaus

    (@zaus)

    Please read the sticky post in this forum. What does your debug email show as being sent as the 3rdparty submission? What’s the response from Vtiger?

    I think the problem might be your “public id” mapping — to send your static value across you put the value in the “Form submission field” with ‘is value’ checked as you’ve done, but you must send it to a 3rdparty field. From their webform docs it looks like you’d map it to publicid.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Vtiger Contact Form 7 and custom fields’ is closed to new replies.