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?

#171414
chrisburton
Participant

syntax is basically like javascript, but scoping is different. Variables are always local to the function, and global variables are not accessible inside the function. (There is the global keyword, but you shouldn’t ever use it.)

I’m only familiar with a tiny bit of jQuery, unfortunately. I’ve been watching tutorials on the very basic aspects of what you can do with functions and at this point what I know about functions is that I can set it up and call it later. However, I’m not quite sure how or why using a function would suffice in my situation. Not that I disagree with you, I’m just trying to figure out the logic in using it.

Absolutely. So, for now, we’re dealing with updating your existing records, not creating new ones.

Yes, exactly.