473,320 Members | 1,744 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ASP.NET form does not clear field(s) with validation

I am an amateur programmer and have a form with many input fields (.asp text boxes) that is intended for users to submit personal information: Name, e-mail, phone number, etc. When I began applying validation to the fields (make sure phone numbers and zip codes were only numbers) and a submit button to test, the form will not clear the boxes if the page is refreshed after the submit button has been pressed. The browser also prompts confirmation for a page reset. This happens in Chrome, Firefox, and IE.
Aug 11 '14 #1
1 1176
In an effort to move forward, I abandoned the aforementioned endeavor and began adding Required Field Validation to other input fields with identical results. When I comment out all the validations and button, the page behaves, but with either the Regular Expression, Required Field, or even simply the button itself I experience the same issue.
Aug 11 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: michael nieuwenhuizen | last post by:
how do i create a sticky form with multiple fields? say i want a form with: name: address: country: and if a user presses the submit button it will show
1
by: Steve | last post by:
I have a form with about 30 fields. Much of data entry for this form involves the same data for many of the fields. To save typing time, in the form's AfterUpdate event I run a procedure that sets...
0
by: d3b_k | last post by:
Using Access2k with SQL2k. Form is unbound. TextBox is from an stored proc that should display a varchar field on the SQL server that can hold up to 1200. The 1200 was recently changed from 300...
0
by: Cleako | last post by:
Here is my dilema. I have a validation summary that I use soley for my Required Field Validators. I have it setup to run from a Page.Validate call in the code-behind, this is because I need to...
3
by: S P Arif Sahari Wibowo | last post by:
Hi! I would like to make an editable continous form, where most fields will be from table A and editable, except 1-3 fields are a glimpse into table B and uneditable. Table A relate to table B...
0
by: DaviesL | last post by:
Hi all, I have a asp.net form which our clients use to upload their data into our database. The form takes and Excel file, validates it then inserts each row into the database. If any errors...
9
dmjpro
by: dmjpro | last post by:
I am generating a HTML code through AJAX, and setting that HTML into a DIV and the DIV is inside a form. Now the form does not include an element which is being generated through AJAX. But whenever i...
5
by: erog | last post by:
Hello I've tried using the MS Access Northwind sample DB and I've downloaded a few other sample Microsoft Access DBs from their website. I keep on running into the same problem for trying to...
1
by: Lilly Torres | last post by:
I have a simple form to add, edit, delete & view records, what I want is that when I am viewing the records i can have the oportunity to press the Add Record Button and that the form automatically...
0
xarzu
by: xarzu | last post by:
While debugging in C# / Silverlight, how does one output validation code to the output window?
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.