All Questions
18,677
questions
0
votes
2
answers
26
views
How to create an input field with a Javascript 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 (...
0
votes
0
answers
48
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 ...
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 ...
3
votes
2
answers
65
views
How can I populate Textfield using php ajax in each row of a table upon change of another textfield within the row
I have a javascript where upon click of a button a row with two cells is added to the table. One cell has a livesearch textfield and the another cell has a quantity textfield, whose value suppose to ...
-1
votes
1
answer
38
views
How do I style a form select field, depending on selection with css or jquery? [duplicate]
I want to style the text color in the select field as gray (#b8b8b8), and when a selection (either Yes or NO) is made, the select field text should be styled as white (#fff).
<form>
<select&...
0
votes
1
answer
23
views
How to Redirect Based on Form Input and Record Lead in Unbounce
I'm working on an Unbounce landing page and need some help with a form submission script. The goal is to redirect the user to a specific URL based on their input for the company_size field and ensure ...
0
votes
1
answer
29
views
Using JQuery to alter text inputs on select change and document finish loading
Background: I have 3 forms on my page each with inputs that have the same class names. I have 2 scenarios:
When a user selects a specific option from the dropdown I want to
make the two text inputs ...
0
votes
1
answer
32
views
Popup form not to reappear when page refreshes
I have a popup form that loads when the page first loads in the browser. User requires to complete the form, click submit and the form then closes. At the moment, if the page is refreshed, the popup ...
1
vote
1
answer
32
views
Jquery Ajax Post Alert is Noth Showing the Returned Data, it is showing the current page source
I am not getting the expected result when trying to post a form using ajax.
I have a simple form. I also have a jquery script to submit the form so I can try to pre-validate a captcha text box before ...
0
votes
4
answers
108
views
How to clear an input field on click?
I need to clear total number of devices input field once clicked on checkbox:
If I click on the checkbox Android a number of devices input field pops up then I select the amount of devices and total ...
0
votes
0
answers
24
views
Jquery form thank you page url is not working
I'm attempting to submit a form using the POST method. Upon successful submission, the page should redirect to a designated thank-you page URL. However, despite the form being successfully submitted, ...
2
votes
1
answer
67
views
JQuery Validation conditions for Italian Fiscal Code and VAT number
I'm using the Jquery Validation plugin for my registration form. Users should enter an Italian VAT number ONLY if the company field is filled in, otherwise they should fill in the CF field.
At the ...
0
votes
2
answers
51
views
Changing state of checkboxes using jQuery
I am trying to develop a JQuery script to change the state of a checkbox by setting the disabled attribute to true depending on the state of a different checkbox.
I have three checboxes - suspended, ...
0
votes
0
answers
19
views
Jquery email validation on progressive form
I'm working with a progressive form and seeking assistance in integrating email validation upon clicking the next button.
Presently, the form proceeds to the subsequent section regardless of whether ...
0
votes
0
answers
34
views
I have hidden the form after submit but want it to appear again after 2s - how can I do this?
I have found a code (will put it below) that makes my form hide and show a thank you message. However I would like it to just show for about 2 s and then the form comes back again. Anybody that can ...