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
Extratags(3pm)						User Contributed Perl Documentation					    Extratags(3pm)

NAME
CGI::Extratags - Useful Extensions for the CGI Module SYNOPSIS
use CGI::Extratags; $cgi = new CGI::Extratags; print $cgi -> email ('racke@linuxia.de'); print $cgi -> jump ('CONTACT', 'contact us'); print $cgi -> mark ('CONTACT', $cgi -> h2 ('How to contact us')); print $cgi -> row ('Date', 18, 1, 1966); print $cgi -> recall ('Debian CD', artnum => '0-123456'); DESCRIPTION
CGI::Extratags adds several useful methods to the CGI class. email ADDRESS print $cgi -> email ('racke@linuxia.de'); Produces HTML code for a link to an email ADDRESS. jump MARK TEXT print $cgi -> jump ('CONTACT', 'contact us'); Produces HTML code for a link pointing to a target within the current document. mark NAME TEXT print $cgi -> mark ('CONTACT', $cgi -> h2 ('How to contact us')); Generates target NAME for hyperlinks. row [ITEM ...] print $cgi -> row ('Date', 18, 1, 1966); Produces HTML code for a table row with ITEM arguments as cell contents. recall TEXT [NAME [VALUE]] ... foreach my $num (sort (keys %artmap)) { print $cgi -> recall ($artmap{$num}, artnum => $num); print $cgi -> br; } Produces a link to the script itself labeled with TEXT. The NAME/VALUE pairs will be passed as parameters. AUTHOR
Stefan Hornburg, racke@linuxia.de SEE ALSO
perl(1), URI::Escape(3), CGI(3). perl v5.8.4 2004-07-11 Extratags(3pm)