Skip to content
Advertisement

Tag: forms

Create blue box area to organize a form

my goal is to create something like this :enter image description here So an area where I can put a form for authentification or create an account. I already created a form in php which is linked to my database like this Is there something in boostrap or css or even js which can make me creat this blue area

Create a json file from a html form

I have a html form and I want to create a json-file with data introduced in html fields. Right now, it is visible in console json-text but it doesn’t create a new json-file with this content. Also,I have an error, Uncaught ReferenceError: require is not defined. Answer It seems you are on the frontend. You can’t write files like this

Console log returning empty value when calling for input field variable

Why is console.log returning an empty line when calling for a text input’s variable. HTML Javascript I tried the actual form and its console.log worked perfectly on submit, but somehow the value for ticketSubject seems to be empty. Here’s the subject field: But it returns nothing: Answer You’re reading the value of the input immediately when the page first loads,

Advertisement