Questions tagged [validating]

107 questions
0
votes
2 answers

validating time in hh:mm formate in C

I have to check if the incomming time is exactly in hh:mm format in C programming. The time will be stored in a string. If the time is not in hh:mm format (example 22:00 or 10:34 ) the program should show an error. If the time is in correct format,…
Renega
  • 11
  • 1
0
votes
1 answer

How to validate a DataGridView Cell is not empty, when the user never enters the cell?

I just want to check and make sure that a cell has some data in it. My situation is I have 3 columns in a DataGridView. When someone adds a new record the rows are blank. The first column is a ComboBox, the next two are just plain text. If…
nportelli
  • 3,934
  • 7
  • 37
  • 52
0
votes
1 answer

SharePoint custom list date and time validation

I have a custom list that I'm trying to restrict data entry for valid day of week and time. My current column validation works for day of week being Monday, Wednesday or Friday. It looks like this: =CHOOSE(WEEKDAY([Requested date for…
Steve Morley
  • 101
  • 1
0
votes
3 answers

Validating empty textbox in VB.NET

I´m beginner and trying build a Windows Phone App with vb.net. I want to validate empty textbox but once start app, this blocked and it shows the following exception error.This calculate fine if the fields are filled but if some field is empty…
0
votes
0 answers

Yii form not validating

This is my code in actionCheckout(): public function actionCheckout() { $proInfo = Yii::app()->session['cart']; if (Yii::app()->user->isGuest) { $model = new Payment; // Uncomment the following line if AJAX validation is…
Viet Phan
  • 1,999
  • 3
  • 23
  • 40
0
votes
6 answers

Validating a data input javascript

I have been looking to validate the data input to check whether it is a integer or a string. I looked around and saw some suggestions and typeof suggestions but nothing seems to work. var nam = prompt("Enter name:") person.push(nam); var mk1 =…
crablab
  • 25
  • 1
  • 3
  • 9
0
votes
1 answer

Javascript form validation, onblur validation and submitting

I am writing a basic form validation script, basically as we go through the form each field is checked onblur like this

Tom C
  • 55
  • 1
  • 1
  • 7
0
votes
3 answers

Error while validating HTML "document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag"

So I'm trying to code something on wordpress for the first time but the validator doesn't seem to like me. Look at the error I got while validating: Line 87, Column 33: document type does not allow element "li" here; missing one of "ul", "ol",…
user299980
  • 1
  • 1
  • 1
0
votes
2 answers

Need basic help in C with

There is the validating function for my size which i can't manage to code it properly void getsize(int* size, int cap){ while(1){ printf("Enter the size(whole number) of array from interval (0, %d]: \n", cap); if (scanf("%d", size) ==…
user3529236
  • 107
  • 2
  • 9
0
votes
2 answers

During a validation, how do I determine the name of the control calling the validation?

In vb.net, during a validation, how do I determine the name of the control calling the validation? The ActiveControl command returns the name of the NEXT control getting the focus, not the control being validated.
SteveZ
  • 13
  • 5
0
votes
1 answer

Validate a value in sql using and if exists statement?

I am still pretty new to everything and now I am trying to validate my input SQL. My powershell script allows me to se some variables which I want to enter in a selected database. What I need is a check if the entry already exists or not. And if it…
RayofCommand
  • 4,054
  • 17
  • 56
  • 92
0
votes
3 answers

Cancel button not working for the confirm window

I'm trying to validate radio buttons in JavaScript and this is my code: if (document.ExamEntry.GCSE.checked == true) { confirm("You have selected GCSE. Is this correct?"); } if (document.ExamEntry.AS.checked == true) { confirm("You have…
0
votes
1 answer

Using PHP to validate a word in a text file

I am practicing some PHP coding before I attempt anything complicated live. My goal is to validate a word entered on an HTML/JavaScript form. I want to use PHP to open and parse a text file and see if the word entered on the form matches a word on…
user2948381
  • 79
  • 1
  • 3
  • 12
0
votes
1 answer

validating xml file with dtd using jsp

Is there any way to validate an XML file with its DTD, using a JSP in Eclipse? If so, how can we do it?
Rohit
  • 155
  • 2
  • 7
0
votes
1 answer

what is error id 220 while validating topology in ArcGis10.2?

I am getting "validate topology failed" while validating in ArcGis 10.2(Trial Version) Please tell me what this error is and how to rectify it ?
himanshu
  • 41
  • 1
  • 2
  • 11