Can I use JotForm to have a client update an HTML file?

  • Profile Image
    Asked on July 16, 2010 at 11:01 AM

    I have a static-file website, and one of the files contains text that the client is regularly having me update. Is there a way to use JotForm for her to call up a form, add the new text for the website, submit it, and then have the HTML file updated automatically?

  • Profile Image
    Answered on July 17, 2010 at 02:05 AM

    Interesting Idea. I think the proper solution is probably to use CMS on your site instead doing a hack with JotForm but if you would like to do that, here is how you can do it:

    Write a script that gets form submission POST from JotForm and update your static file. You can accomplish this using a feature called "Send Post Data". You can enable it from "Preferences" button on the form builder. Basically, it will post the data back to your Thank You page.

    Here is how you can test this feature:

    1. Create a "test.php" on your site and put this code in it:

    <? print_r($_POST); ?>

    2. Go to "Setup & Share" -> "Thank You" -> "Custom URL" and enter
    3. Enable the "Send Post Data" from "Preferences" button
    4. Save and submit your form.