53 Topics
| |
Hi, im making my new CakePHP project and I've got some problems with validating data, which comes from form. I mean i do know how to add custom rule but i don't know how should regex for 9 numeral telephone number looks like. [code] function checkPolishNumber($inputValue){ $regex = 'what to … | |
I am working for a sms portal where user will submit an sms template for admin will approve that template. user will submit like [CODE]my name is # i leave in #[/CODE] Admin will approve this sms template when user will sent this sms he can replace one word with … | |
Hi guys i'm trying to just do a simple email/password validation on two text boxes. This code runs but when i type in a correct email address it throws an error "Object reference not set to an instance of an object." on [CODE]AdAcc.InsertCommand.Connection = OleAcc;[/CODE] I'm thinking i may need … | |
Maybe this is a bit too broad a question and too much code for this forum, but I'll give it a shot... OS: Win7x64 6.1.7601 py: 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] wx: 2.8-msw-unicode My question is more of a general nature than in regards … | |
Hello Daniweb, I'm trying to validate form fields with php via jQuery and everything is working great, except for one thing I can't figure out. I'll try my best to explain. Here's the jQuery: [code] $(document).ready(function(){ $("form#reservation").submit(function(event){ event.preventDefault(); // Prevent default submission of form }); $("input#continueReservation").click(function(event){ event.preventDefault(); // Prevent default … | |
Hi all, I am trying to create a small login system, but so far I suck at it. I have a form in one page. It contains only: EMAIL, PASSWORD. I want to do this: When the form has been submitted to the processing page, I am trying to check, … | |
hai, I want an expression for all alphabets and some special characters like . - ' etc. I use an expression like ^[-_'.,A-Za-z]* but it doesnt contain '. can i get a correct expression for this. Thanks in advance Sreevidya | |
This snippet is to create a user control that will only take numbers. Numbers will accept decimal values, for which the NumberBox is validated to take only one. The implementation for the control is the same as it is for the TextBox, since it is inherited from this class and … | |
Is there an easy way to figure out which doctype is the correct type when using the [url]http://validator.w3.org[/url] validator? | |
i have ID numbers that i want to enter it into my database using filling form by user. so i need to validate this number format. number format should be like this. first 9 numbers and after nine numbers it must have a letter V. (123456789V) i need to validate … | |
Hi Everyone, In my form there is a "Validating" event on a textbox. This form also has a "Cancel" button. Is there a way to not execute the "Validating" event when the user clicks on the "Cancel" button? Please show me code to do this. Thanks. Truly, Emad | |
Hi ~ My program seems to work perfectly with the exception of validating user input. I do not want someone to do the work for me, I don't learn anything that way. I need to know why it works not just what or how. I just need a push in … | |
My form has a RegularExpressionValidator that validates user input in a textbox, lik so: [CODE] <asp:TextBox ID="taSSN" runat="server"></asp:TextBox> <asp:RegularExpressionValidator ID="revSSN" runat="server" ControlToValidate="taSSN" ValidationExpression="^\d{3}-\d{2}-\d{4}$"> Invalid! Remember, you MUST type in the dashes!! </asp:RegularExpressionValidator> [/CODE] Suppose that that the regular expression I want to validate is the standard U.S. Social Security Number … | |
Hi, I have a form where the users can add "name" and "id" fields by clicking on the "Add" button. The input fields look like this (each pair is a row): [CODE]<input name="name_1" id="name_1" /> <input name="id_1" id="id_1" /> <input name="name_2" id="name_2" /> <input name="id_2" id="id_2" /> ... [/CODE] The … | |
Hi All, first time with this so go easy on me please. I want to validate my code. I have fly-out menus that fly-out over a flash movie. At first, the flash layer covered the fly-out portion. I resolved the cover-up problem in the big 3 browsers (Chrome, IE, Firefox), … | |
Hello everyone, i'm using a jquery datepicker like this: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ rangeSelect: true, monthsToShow: 3, minDate: '+7d', rangeSeparator: '|', altField: '#resdate', altFormat: 'dd-mm-yyyy', pickerClass: 'locgrid', onDate: nationalDays } ); }); var natDays = [[12, 18, 2010], [12, 19, 2010]]; function nationalDays(date, inMonth) { if (inMonth) { for … | |
I am a newbie. I am using validating procedures to validate user input from 4 text boxes. I am experiencing an issue using the 'x' button to close my form if invalid or no data is present in the textbox with focus when I click the 'x' button. Validating triggers … | |
hi this is my code. I want to validate new password with repeat password befor user press submit. [CODE]<p align="center">To reset your password, provide your current password</p> <form id="form1" name="form1" method="post" action="pcq.php"> <table border="0" align="center" class="mytable2" style="margin-left:175px" > <tr> <td>Current Password</td> <td> <input type="password" name="oldpass" style="width:150px;" /> </td> </tr> <tr> … | |
Hi Guys, I'm in need of regular expression for validating the html tags that are closed properly, say for example <i>test content <b>see this </i> .. it should show an alert "tag is incorrect". Plz help me....Guys-:)-:) Thanks in advance | |
hi... i m trying to get values of more then one select box on same page.. i am showing list of all users with select box..so per user there is one select box... i want to get the value of all select box...which is select or not select... here is … | |
I have a RSS reader on a web-page and the RSS it receives have links that contain "&" sign in them. For the page to be valid it needs to be changed to "&". I know this sounds stupid and unnecessary but I want to fix them. Attached to this … | |
Hi guys, I'm trying to make a function that allows the user to enter in a file name and access that file; if the file name is wrong or the file is not there, I want to allow the user to enter in another file name. For some reason the … | |
How would you create a validate statement that shows a message to the user if they enter a value that is 5 years or older than the current date, I have the checking of format for the date if its entered correctly. Currently I have this to valid the format … |
The End.