Validation of Text field while Click on submit button


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Validation of Text field while Click on submit button
# 1  
Old 01-27-2012
Validation of Text field while Click on submit button

I am using Perl CGI. I have created some text fields and getting those values.
But i want if user leave the text field blank when he click on submit button then instead of run a script it should give a popup. Please any body suggest me something..???
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Apache2 web application- Submit button - write data into a file

Hello, I am newbie on php-mysql and just know only installation. I have an apache2+php5+mysql installed VPS. What I would like to do is that when visitor enters requested data shown in index.html, submit button will run a script to save each field into a file. Here is an example shown in... (1 Reply)
Discussion started by: baris35
1 Replies

2. Shell Programming and Scripting

Curl to hit the submit button

Hello, I am looking to hit a URL using curl and click on submit button so that I can get the results. The below is the code <input name="tos_accepted" id="tos_accepted" class="button" type="submit" value="Yes, I Agree"/> <input name="tos_discarded" id="tos_discarded"... (1 Reply)
Discussion started by: Kochappa
1 Replies

3. Shell Programming and Scripting

CURL Button Click Issue

I am trying to perform a button click via cURL and I am having an issue possibly due to java script on click. The HTML source code is: <input id="ctl00_SPWebPartManager1_g_1bb6dc86_55ab_4ea9_a4db_4747922a8202_ctl00_RequestOption_0" class="radio" type="radio" checked="checked" value="1"... (5 Replies)
Discussion started by: js0505
5 Replies

4. Shell Programming and Scripting

[SOLVED] Submit Button is not Recognizable

Hi ... I am writing a PERL CGI script where firstly i display a Submit button and when i click that, it will display a group of checkbox values and another submit button. My question is Now, if i click the second submit button, it should get the checkbox values and work with those(do some... (0 Replies)
Discussion started by: gkrish
0 Replies

5. Web Development

Cannot execute sh file using button click in php file in apache

I the problem that i facing is cannot use button click to execute the sh file that store in the same location. the program file is a php file and running in apache2. the code that i run is show below <button onclick="sh()" name="sh">SH</button> <script type='text/javascript'> function sh()... (5 Replies)
Discussion started by: zhengkoon8
5 Replies

6. Web Development

include virtual perl-script - submit button opens a new page..

hello 2 all I can't understand how to insert a perl-script into .shml in a right way. <form> should be working but it's not doing that: <!--#include virtual="/cgi-bin/script.cgi?filename"--> filename is a name of the file which script is using the script is used for a score show (the number... (3 Replies)
Discussion started by: tip78
3 Replies

7. Shell Programming and Scripting

include virtual perl-script - submit button opens a new page..

hello 2 all I can't understand how to insert a perl-script into .shml in a right way. <form> should be working but it's not doing that: <!--#include virtual="/cgi-bin/script.cgi?filename"--> filename is a name of the file which script is using the script is used for a score show (the number... (0 Replies)
Discussion started by: tip78
0 Replies

8. Shell Programming and Scripting

Python- Changing background color on Button click

Hi, I am trying to write a python program which changes background color on click of button. However i am stuck up. Instead of changing the color currently it is creating a new frame every time. please look at the code and let me know how to correct it #!/usr/bin/env python from Tkinter... (0 Replies)
Discussion started by: vickylife
0 Replies

9. UNIX for Dummies Questions & Answers

CGI cannot get the Value after click the button. URGENT!!!

Hi Everyone, I am facing a problem, regarding cgi cannot receive the value from HTML after click submit. Here is the code =============================================== #!/bin/bash genHTML() { cat <<-__EOF__ Content-type: text/html <html> <script language="JavaScript"> <!-- ... (2 Replies)
Discussion started by: ryanW
2 Replies

10. Solaris

Comprehensive system documentation by button click

Guys There's a new WebPage where you can generate a comprehensive detailed system documentation by button click. Look at the example at https://sdoctool.sun.com/data/doc.php?ID=sdoctool&N=2 ;) Interested, go to Cheers (0 Replies)
Discussion started by: lebch
0 Replies
Login or Register to Ask a Question
HOBBITCGI.CFG(5)						File Formats Manual						  HOBBITCGI.CFG(5)

NAME
hobbitcgi.cfg - Command-line parameters for the Xymon CGI tools SYNOPSIS
$BBHOME/etc/hobbitcgi.cfg DESCRIPTION
hobbitcgi.cfg(1) controls the commandline options passed to all of the Xymon CGI tools through their respective shell-script wrappers. Typ- ically the options listed here are used for system-wide configuration of the CGI utilities, e.g. to define where they read configuration files. The exact set of commandline options available are described in the man-page for each of the CGI utilities. The file is "sourced" into the shell script wrapper, so assignments to the CGI-specific variables must follow standard shell-script syntax. SETTINGS
CGI_ACKINFO_OPTS Options for the hobbit-ackinfo.cgi(1) utility. CGI_ACK_OPTS Options for the bb-ack.cgi(1) utility. CGI_CSVINFO_OPTS Options for the bb-csvinfo.cgi(1) utility. CGI_DATEPAGE_OPTS Options for the bb-datepage.cgi(1) utility. CGI_ENADIS_OPTS Options for the hobbit-enadis.cgi(8) utility. CGI_EVENTLOG_OPTS Options for the bb-eventlog.cgi(1) utility. CGI_FINDHOST_OPTS Options for the bb-findhost.cgi(1) utility. CGI_HIST_OPTS Options for the bb-hist.cgi(1) utility. CGI_HOBBITCOLUMN_OPTS Xymon-specific options for column documentation. This uses the bb-csvinfo.cgi(1) utility with the server/etc/columndoc.cfg configu- ration file. CGI_HOBBITCONFREPORT_OPTS Options for the hobbit-confreport.cgi(1) utility. CGI_HOBBITGRAPH_OPTS Options for the hobbitgraph.cgi(1) utility. CGI_HOSTGRAPHS_OPTS Options for the hobbit-hostgraphs.cgi(1) utility. CGI_NKEDIT_OPTS Options for the hobbit-nkedit.cgi(1) utility. CGI_NKVIEW_OPTS Options for the hobbit-nkview.cgi(1) utility. CGI_REPLOG_OPTS Options for the bb-replog.cgi(1) utility. CGI_REP_OPTS Options for the bb-rep.cgi(1) utility. CGI_SNAPSHOT_OPTS Options for the bb-snapshot.cgi(1) utility. CGI_SVCHIST_OPTS Options for the hobbitsvc.cgi(1) utility when used to view historical logs. Note that the "--historical" option must be included in this setting. CGI_SVC_OPTS Options for the hobbitsvc.cgi(1) utility. SEE ALSO
xymon(7), the individual CGI utility man-pages. Xymon Version 4.2.3: 4 Feb 2009 HOBBITCGI.CFG(5)