Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
16 views

Add custom validation before form submission in ClickFunnels

On ClickFunnels, I am trying to add some custom validation for an input field (email) as the built-in ones are not enough for my use case. The validation use an external api call to validate the email ...
Muzan's user avatar
  • 15
0 votes
3 answers
53 views

Formatting a form input field

How can you format a form input field such that it only accepts numbers from users, takes a maximum of 16 digits, and adds a space after each four digits? I am trying to create a debit card such that ...
Caleb Abuul's user avatar
0 votes
2 answers
29 views

How to create an input field with a predefined format where users can only type in specific parts of the field

I have a basic HTML input field (for phone numbers), that currently lets the user type and submit whatever they want inside: 923-98-Ilovekittens :3 However, I want the field to look like this: +1 (...
Tony Moritz's user avatar
-1 votes
0 answers
30 views

I need solution with javascript for a form when I turn page [closed]

I want a problem with a form on mobile, when I turn the page, the scroll is on the bottom of the page. Does it have a solution with javascript? Thanks in advance Sorry for my bad english I didn't try ...
Ro peguz's user avatar
0 votes
0 answers
54 views

Refilling a form with saved user selection

In my application I have a form that initially has default values. The user can choose other selections in the form. The user can also save the selections into localStorage by clicking the Save ...
Youssef Ismail's user avatar
0 votes
0 answers
17 views

Understanding the work together and howto for <button type="submit" between HTML js and php [duplicate]

I searched around for the last few days, but couldn't get the entry point of understanding. How the work together between HTML, Js and PHP for the submit button is. Especially for my case, I want a ...
Tips  Tricks's user avatar
0 votes
2 answers
55 views

How to send dependent html form fields?

<form> <input name="checkbox" type="checkbox"></input> <input name="value" type="text"></input> <input name="checkbox" type="checkbox"></input> ...
Владислав Копнин's user avatar
-2 votes
1 answer
23 views

I want it generate error when users enter more than 15 password maximum [closed]

I am building a password generator, I set it to 15 max but I alter realized that if users input a figure above 15, it will accept and generate it, which is not suppose to be. I want to let it have a ...
Olalekan Samuel's user avatar
0 votes
0 answers
32 views

HTML form not populating correctly, What am I doing wrong?

I have a javascript application where I need to save the user selections in a HTML form that I need to retrun to the form when the user returns to the page with the form. I have implemented solutions ...
Youssef Ismail's user avatar
-4 votes
0 answers
24 views

How do I get this js validation running? [closed]

console.log("JS works properly"); const vname = document.getElementById("vname"); const nname = document.getElementById("nname"); const idnum = document.getElementById(&...
Armin-Rafael Zdroba-Fisteag's user avatar
-1 votes
0 answers
14 views

I am trying to print the data of my form in html and check if the user password is same ans confirm password [closed]

I tried this and my console just gave me two empty lines for the console.log(password.value) and console.log(confirm_pass.value) Also I get an error about 'incorrect use of <label for=form_Element&...
nikhil chobhiyal's user avatar
0 votes
2 answers
31 views

preventing HTML page reload on from submission

I am working on an astronomical application that determines the location of the sun and the resulting shadow lengths and shadow azimuths at different times of the day. I want to eventually deploy this ...
Youssef Ismail's user avatar
0 votes
1 answer
55 views

Form validation through two app script libraries

The problem is after clicking on the button. I'm getting Uncaught ReferenceError: check is not defined at HTMLInputElement.onclick This is my scenario: I have two standalone libraries. The first ...
hub2sell's user avatar
-3 votes
0 answers
28 views

Using math.random form js and input it in php [duplicate]

I am trying to get data from input generated by math.random to php by Javascript id = Math.floor(Math.random() * 100000); document.getElementById('uid').value = id; // pastes it in input values <...
Me Kool's user avatar
0 votes
1 answer
33 views

Saving data from an HTML form

I am trying to save data from an HTML form. I found this solution here on stackoverflow I want to use the CacheData function (shown below) but when I run my code, I keep getting an error that ...
Youssef Ismail's user avatar

15 30 50 per page
1
2 3 4 5
1932