AJAX Dynamic Form Input Fields Submission No POST Data

AJAX dynamic form input fields submission no POST data, I was working on a AJAX form, where it pulls data from mysql database after selecting country, for states and cities. Everything is working fine, After selecting country, it fetches data from mysql database and shows states field, cities field html will be updates using AJAX. And for cities also it’s same, after selecting states it fetches data from mysql database and shows cities select list. After submitting form there is no data in post super global.

I solved this problem by removing tables, and validated html then it worked fine for me.

You can get more information from these link’s.

Dynamically added fields using ajax do not get posted on form submission (FORM inside TABLE)

AJAX-created form inputs not posting

Vivek Vengala
 

Vivek Vengala is a Online Entrepreneur, Web Developer from Hyderabad India.

Click Here to Leave a Comment Below 0 comments

Leave a Reply:

x

Join My Facebook Group to Receive Coding Tutorial for Free

email-subsribe