Title: Dynamic table with user input
Last modified: August 21, 2016

---

# Dynamic table with user input

 *  Resolved [kasper11](https://wordpress.org/support/users/kasper11/)
 * (@kasper11)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/dynamic-table-with-user-input/)
 * Hi Tobias,
 * I have an idear, but dont know where to start – so I hope somone in here might
   help:)
 * I want to create a form input field, so my visitors can type in a number – which
   then will “change” or add up the numbers in the table.
 * Quick example (hope you understand it :p)
    eg.:
 * Input form: [1]
 * X | Y
    A | 2 B | 3 C | 4 ——————
 * Input form: [2]
 * X | Y
    A | 4 B | 6 C | 8
 * Any idear where I should start?
 * Again, your plugin is working amazingly on my site! Thanks alot!
    [http://www.kalorielex.dk](http://www.kalorielex.dk)(
   if u wanna see what i did with it :p)
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/dynamic-table-with-user-input/#post-4722331)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Sorry, that’s not really possible with TablePress. TablePress can show tables,
   but it does not have functionality built-in for form fields.
    You could of course
   add the HTML code for form fields into the table, and those would be displayed.
   You would then however need custom JavaScript code that reads the values from
   the form fields and does some calculations with them. It’s however not possible
   to save the data that the user typed to the table.
 * Regards,
    Tobias
 *  Thread Starter [kasper11](https://wordpress.org/support/users/kasper11/)
 * (@kasper11)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/dynamic-table-with-user-input/#post-4722418)
 * Hi,
 * I was afraid I had to do it with the JavaScript code… thanks anyway 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/dynamic-table-with-user-input/#post-4722419)
 * Hi,
 * you could also do it with PHP, but then you would have to submit the form fields
   to a script on the server.
    TablePress can’t really help with that, however. 
   Sorry.
 * Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Dynamic table with user input’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/dynamic-table-with-user-input/#post-4722419)
 * Status: resolved