Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Editable form fields? Reply To: Editable form fields?

#171350
chrisburton
Participant

@traq

Just in case we’re both not on the same page, I have a form where I submit the data to the database. Then, I output that data inside textarea elements. This data needs to be updated from time to time so I figured I could just change the values inside the textarea elements when needed and it could update inside the database.

CodePen.
Gist.

Oh and the textarea elements do not have name attributes. I think this may be why I’m having issues?

The url you should POST to is whatever php script you have that updates the database.

You mean INSERT? If I need to create an UPDATE, I can do that. This may be making a bit more sense now.