This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Pre-Populate Form Data from Table


  1. aprilanderson
    Member

    We are going to use the URL parameter option and link the client ID to a form. However, we would like to be able to also have the address information pre-filled out. Obviously, this is too much information to include in the URL parameters. I was wondering if:

    1) I could load this data directly into the table in the database (you can easily export it... is there a way to import in through the backend)?

    2) When the user linked to the form, it would read the client ID and then be able to find the entries in the table and pre-populate the form?

    Posted 11 years ago #
  2. yuniar

    I'm afraid there is no easy way to do this. You will need to do pretty much custom coding for that.

    You basically need to modify the "includes/view-functions.php" file, particularly inside the "mf_display_address()" function to be able doing the lookup into the data table based on the user input. I suggest to hire a programmer to do this modification, since it won't be pretty simple changes.


    MachForm Founder

    Posted 11 years ago #

RSS feed for this topic

Reply