206 Topics

Member Avatar for
Member Avatar for larry29936

The validation section of my contact.php page is sending the user back to my index.php instead of staying on the contacts.php page so the user can correct the reported error. How can I fix this? My contact.php code follows: <?php if(isset($_POST['submit'])) { $name = $_POST['name']; $visitor_email = $_POST['email']; $message = …

Member Avatar for Dani
0
672
Member Avatar for seularts

I have a checkbox input switch set up over the Input text box that acts as an on/off switch for that particular field. I am also using jQuery Validator (jqueryvalidation.org) to handle the errors for empty fields. The issue is that when the error hops in, my switch is pushed …

Member Avatar for rproffitt
0
307
Member Avatar for seularts

I tested over and over and it seems there is something conflicting between these 2 scripts: bootstrap toggle and jquery validator. If I remove data-toggle=" toggle" the checkbox is required for validation, otherwise it just passes regardless of being checked or not! <form id="regiration_form" action="action.php" method="post"> <h1></h1> <fieldset> <h2>Pasul 1: …

0
389
Member Avatar for Troy III

Will work on latest:Chrome Safari Firefox Opera and all versions of IE. *(client notifications are for demonstration purposes only, and subject to designer decisions and modifications ) Can be used for size and mime-type restrictions. When mime-type is not an issue, accepting any kind of image format can be done …

Member Avatar for Troy III
2
3K
Member Avatar for Violet_82

HI guys, as mentioned not too long ago here https://www.daniweb.com/programming/web-development/threads/501668/contact-form-building-my-own-or-already-made I'm building my own php script that is supposed to validate and submit form fields to an email address provided. The problem is that I have no real experience of php so I' just doing some readings, getting bits and …

Member Avatar for cereal
0
1K
Member Avatar for samantha2015

I have a primefaces wizard which contain a simple form and a datatable. On clicking save, the record is displayed in the datatable which is just below the form. Now for the user to move on the next tab, he should at least enter a record such that he can …

0
200
Member Avatar for sowmya.murthy

I want to validate an email validation of type 'abc@xyz.com.com' Should show an error message if they enter invalid domain name. Would be very grateful for your help.

Member Avatar for ankti
0
378
Member Avatar for Ventech_IT

Hi guys i have simple problem that i can't seem to solve and has been frustrating me for some time i am a newbie when it comes to Codeigniter so be kind hahah, okay so on to my problem i have form validation on a subscription form that seems to …

Member Avatar for lorenzoDAlipio
0
389
Member Avatar for blueguy777

the success message is not displaying after form submission, still it's displaying error message "Please enter a valid mobile number." it should display Success message. <?php function filterMobileno($field){ // Sanitize mobile number $field = filter_var($field, FILTER_SANITIZE_NUMBER_INT); // Validate mobile number if(filter_var($field, FILTER_VALIDATE_INT)){ return $field; }else{ return FALSE; } } // …

Member Avatar for diafol
0
298
Member Avatar for 2384443

Hi.. I'm doing a project on Vb.net 2008.. There's a textbox called "Price" which requires validation.. The validation is that the textbox should not enter dot, special characters or alphabets as the first character.. The Dot should only be active after the number which is entered on the textbox.. for …

Member Avatar for Reverend Jim
0
1K
Member Avatar for jean_5

I have the following table User in my database Name(Varchar) DateOfBirth(datetime) Age(int) Name(Varchar) | DateOfBirth(datetime) | Age(int) John | 2014-12-20 23:59:59 | 0 Mary | 2014-12-20 23:59:59 | 1 How can i verify throught javascript if the field DateOfBirth of the table User of the database z is of type …

Member Avatar for jean_5
0
372
Member Avatar for munchlaxxx

If checkForm is false, I don't want the form to submit. And if checkForm is true, I would like the form to submit and the action=POST to work. I've seen several examples online where people have VERY similar code and theirs supposedly works. So what am I doing wrong? Is …

Member Avatar for minitauros
0
386
Member Avatar for johnef_sh

I am trying to validate my form fields and redirect the user to success page so this is the PHP code if (empty($_POST['experiences'])) { $error['experiencesErr'] = "Experiences Required"; } else { $experiences = check_input($_POST['experiences']); if (!preg_match("/^[0-9_a-zA-Z ]*$/", $experiences)) { $error['experiencesErr'] = "Only letters, numbers and '_' allowed"; } } $courses …

Member Avatar for johnef_sh
0
276
Member Avatar for rpv_sen

Hi I was working on wizard registration form i collected the code from web and i gave required in the input tag. But its not working. Can any one please help me to resolve this issue. **Html page** <div class="row wizard-row"> <div class="col-md-12 fuelux"> <div class="block-wizard"> <div id="wizard1" class="wizard wizard-ux"> …

Member Avatar for hericles
0
505
Member Avatar for munchlaxxx

This is my code: <!DOCTYPE HTML PUBLIC "-//SQ//DTD HTML 2.0 HoTMetaL + extensions//EN"> <HTML> <HEAD> <TITLE>Courses Radio Button Project</TITLE> <SCRIPT Language="JavaScript"> <!-- function choiceChecker(){ var message = "A course can only be one choice!"; var returnval= true; for (var i = 0; i < form.Choice1.length; i++){ if ((form.Choice1[i].checked && form.Choice2[i].checked) …

Member Avatar for Adrian_5
0
252
Member Avatar for facadie

HiHi seems like i have so many queries for programming.. EG. textbox use to set the password how can i make a program so that i can set MINIMUM character to be inserted in textbox is 7 then i can save the data if not validate[ insert password with at …

Member Avatar for vadde
0
4K
Member Avatar for Alba Ra

Hello, I admit I’n not sure about which forum to post my question to. Anyway, here’a my "problem" - not as much a problem (as my website is served alright) but it bugs me. My website ([www.rosebrossut.fr](http://www.rosebrossut.fr/)) was created in XHTML and with character encoding ASCII. In the meta tags …

Member Avatar for Alba Ra
0
426
Member Avatar for Varunkrishna

Hi all I have a textarea I would like to validate the same for empty spaces and on no input. Please find my jsfiddle [here](http://jsfiddle.net/Varun_Krishna/jJh8q/). How do I validate for empty spaces in the text area? what am I missing in my fiddle? Thanks Varun Krishna. P

Member Avatar for Varunkrishna
0
2K
Member Avatar for gee,selvin1990

The below code is a profile login system update page i have created validation for fullname but fullname validation is not working I need ur help friends may i know how to create validation in php for the below code may i know where i made a mistake friends help …

Member Avatar for diafol
0
1K
Member Avatar for patk570

Hello everyone, I am trying to get a code that will check the length of the a 'key' that will be generated in xxxxx-xxxxx-xxxxx-xx format. I need it to verify that it meets the requirements. I do not need it to validate on the server, but i do need it …

Member Avatar for JorgeM
0
397
Member Avatar for Angle90

How can I explain this. I have a list of postcodes in text files in an external url and I have a formfield. When people enter data into the form field, using javascript validation, I want the form to check if the entered data exists in any of the external …

Member Avatar for jeffcogswell
0
286
Member Avatar for Sumith Asanka

Hi Guys I have 2 buttons on my we page one is to save and other button to view a list ,i have applied field validator to validate form fields , but when i click the list button also the required field validator is activating how can i stop that …

Member Avatar for Sumith Asanka
0
232
Member Avatar for ignnniter

ello There, i want to ask, how can i customize this function to allow only certain email domain. like for instance A & B wants to register, A email = test@ymail.com B email = test@onlyalloweddomain.com how can i validate that? here's my function function validate_values() { // Create the array …

Member Avatar for Tpojka
0
5K
Member Avatar for erum

I have .aspx form and I wanted to put jquery validation over it ..some validation already been working like minlength: "Your password must be at least 5 characters long written in code attached ..I want for first name and last name too for 5 characters .. Please reply <%@ Page …

Member Avatar for pritaeas
0
260
Member Avatar for reiferdinan.picar

We need it tomorrow, the code for the assignment #3 and #4 question. There was no continuation. Date Class Project (part #3) Add the following data items to your Date class 05 points 1. int dayOfYear 2. String monthName 3. String dayOfWeek Add the following methods to your Date class …

Member Avatar for stultuske
0
318
Member Avatar for inzcpa

I have a website called ClippingPathAsia.com. There are 33 errors is showing. I have tried but its tough for me. If you have any tutorial or solution please help me.

Member Avatar for diafol
0
171
Member Avatar for Master Mascus

I need jquery code for DOB range validation(age should be at least 15) using the .validate() jquery function. I am not able to create the function in the rule, help anyone ?

Member Avatar for stbuchok
0
183
Member Avatar for dlmagers

I am studying for a test and I am trying to figure this out, Could someone please help me with this answer? I think it might be number 2, (/^\d{5}$/) I am not sure. What are your suggestions? 1. /[d5]/ 2. /^\d{5}$/ 3. /+\d[5]?/ 4. /$\d5^/

Member Avatar for pritaeas
0
194
Member Avatar for everton.retweets

Hi Everyone, Especially those who are more experienced than others. I have been teaching myself php over the last 18 months and whilst I can do what I think are basic tasks, the more difficult tasks, well, are more difficult and take much longer to complete. The reason for my …

Member Avatar for everton.retweets
0
1K
Member Avatar for lizzy2

Hi, I am working on a program that prompts the user for answers to a quiz. The answers can only be a, b, c or d and they are saved to an array which I later compare to my answer key array. Below is the method I have written to …

Member Avatar for lizzy2
0
1K

The End.