• Resolved agnesf

    (@agnesf)


    Hi everybody,
    I’m looking for a plugin or a solution to keep contact information (entered once by the user) in several forms placed in several pages from a single website.
    Do you know if cookies work in all forms plugin ?
    Or do you know a solution which allows user to fill his contact information field only one time, at the end of his visit for example ?
    Indeed, in this website, the user will have about 80 variable forms (1 form by service), and if he’s interested in 5 or 6 services, I would like he enters just one time his contact information (name+tel+email address…).
    It could be work like a cart, or a wishlist.
    Could you give me your help ?
    I’m pretty novice in contact forms but I would like to learn.
    Best regards,
    AgnesF

Viewing 3 replies - 1 through 3 (of 3 total)
  • What about using a login plugin? When signing up the user would fill the basic information and then you could use it for all your services.

    Moderator bcworkz

    (@bcworkz)

    The problem with cookies is if the user changes computers or even browsers, the cookie data is no longer available. I think you would want to save all of this data in the user meta table. Any user oriented plugins you use would most likely be doing this. While the actual implementation can get fairly complex, at its root the concept is quite simple.

    When the form is submitted, some PHP code sanitizes the provided data, then saves it in the user meta table. Each field might only be a line or two of code. Once the data is in the user meta table, any other code for other pages can access this data and do things with it. At the very least, form fields can be pre-populated with this data so users never need to reenter data unless it needs to be changed.

    The data can also be used to compile statistics, like the number of users from various countries for example.

    Thread Starter agnesf

    (@agnesf)

    Hi,
    Thank you for your quick reply ??
    I don’t know now what solution I will use, maybe one less complicated, because I’m novice in WP.
    If needeed, I will ask you again some help.
    Best regards and have a nice day.
    AgnesF

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to keep contact information (entered once) in several forms in 1 website ?’ is closed to new replies.