Prepopulate Input Table fields

  • Profile Image
    Asked on February 17, 2021 at 06:28 PM

    Hello, we need our table to be prefilled with values. Is this achievable? We need to insert php code in to the value slot, we then use the full code and insert it in to the website.

  • Profile Image
    Answered on February 17, 2021 at 10:12 PM


    Yes, you can get the form's full source code and prepopulate the form by inserting the value in the fields' value attribute using PHP like so:


    You can also use JavaScript to prepopulate the fields.