• Resolved LarsHdg

    (@larshdg)


    Hello,

    Besides from the standard fields which WP holds for a user eg.[username], [firstname], I want to use PieReg. for creating custom fields like Street, House_number, City etc.
    How to address these fields from other “services” like CF7-forms on the site?
    I also want these fields to be shown in the verified registration email to the user, like:
    “%Street% %House_number%, %City% ”
    or…??

    BR Lars

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor genetech

    (@genetech)

    Hi,

    Pie Register provides custom fields, you can build your PR registration form with these custom fields. Also, you can use these replacement keys in your PR email notification templates like verification email. Currently, there is no option available to get other plugin’s form fields into PR registration form.

    Click here to learn more about replacement keys and click here for a quick tutorial to how to build a form via Pie Register.

    Thanks

    Thread Starter LarsHdg

    (@larshdg)

    Hi,

    I understand the basic functionality of the builder and it looks like a very good solution – but I need to understand how I can use the custom fields from the User registration form, that is, make them available for pre-fill of other forms (CF7 eg.) and functions.
    Lets say a User have filled the reg.form with his Street name and house number, I want to fetch those 2 fields and pre-fill the related forms with the stored data from the user-profile – how to??

    In relation to above.
    In the current setup I have some hundred users with std. WP-userdata and a handful of additional custom data fields – all of which can be exported to a CSV incl. those custom fields.
    Can I import all of these data into the Pie Reg. database?

    Thanks for your support ??
    BR Lars

    Plugin Contributor genetech

    (@genetech)

    Hi,

    There is no option available in which you can sync PR custom fields with CF7 or any other forms fields. For that, you need to write code using CF7 provided action/hooks.

    No, it’s not possible to import custom user data. It will have compatibility issues, because PR plugin use different slugs for user registration fields.

    Thanks

    Thread Starter LarsHdg

    (@larshdg)

    Hi,

    Well, by digging a little deeper I found it is not that difficult after all ??

    The syntax is:

    [text* CF7-label-X1 id:CF7-label-X1 default:user_pie_text_5]

    that will fill the CF7-label-X field with the pie_text-5 value from the user DB (by PIE) – you can then edit or send the CF7-form as is.
    And you can CSS-format by ref. to the CF7 id.
    I believe this will work for other Forms as well…..

    By means of an export of Users to a CSV-file the PIE-fields can be edited (or copy pasted to) by ref. to the appropriate “user_pie_” references.
    There are at least one good plugin which will do the trick of export/import of user data – to be used with care.

    BR, Lars

    Plugin Contributor genetech

    (@genetech)

    Thank you much for your input. We will explore this further.

    Thread Starter LarsHdg

    (@larshdg)

    Thanks for your support.

    BR, Lars

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom fields’ is closed to new replies.