Hi All,
In perl script(item b below) where we check if html registration form are filled in properly without blank with the necessary fields, how to prompt users that the field are incomplete or blank and then go back to main page(item a below user registration html page) always, something like goggle or msn login page function...
Thanks and Best Rgds,
Andrew
a) script called from user registration html
------------------------------------------------------------ -
<!DOCTYPE HTML PUBLIC "-//SoftQuad//DTD HTML 3.2 + extensions for HoTMetaL PRO 3.0(U) 19961211//EN"
-
"hmpro3.dtd">
-
<HTML>
-
<HEAD>
-
<TITLE></TITLE></HEAD>
-
<BODY>
-
<FORM ACTION="/cgi-bin/acctman2-if.pl" METHOD="POST">
-
<CENTER>
-
<TABLE BORDER="0" WIDTH="400">
-
<TR>
-
<TD ALIGN="CENTER">
-
<TABLE BORDER="0" CELLPADDING="5" BGCOLOR="#FF8000">
-
<TR>
-
<TD><INPUT TYPE="CHECKBOX" NAME="agree" VALUE="agree"></TD>
-
<TD><FONT SIZE="-1" FACE="verdana, arial, helvetica"><B>I agree to the Terms
-
and Conditions above.</B></FONT></TD></TR></TABLE><BR></TD></TR>
-
<TR>
-
<TD>
-
<HR SIZE="2" NOSHADE="NOSHADE"></TD></TR>
-
<TR>
-
<TD ALIGN="CENTER">
-
<TABLE BORDER="0" WIDTH="350" NOWRAP="NOWRAP">
-
<TR>
-
<TD><FONT SIZE="-1" FACE="verdana, arial, helvetica"><B>Customer Information</B></FONT><BR><FONT
-
SIZE="-2" FACE="verdana, arial, helvetica" COLOR="#FF0000"><B>Fields marked
-
with an asterisk<BR>are required input fields.</B></FONT><BR><BR></TD></TR>
-
<TR>
-
<TD><INPUT TYPE="TEXT" NAME="fname">
-
<FONT SIZE="-1" FACE="verdana, arial, helvetica">First Name *</FONT></TD></TR>
-
<TR>
-
<TD><INPUT TYPE="TEXT" NAME="lname">
-
<FONT SIZE="-1" FACE="verdana, arial, helvetica">Last Name *</FONT></TD></TR>
-
<TR>
-
<TD><INPUT TYPE="TEXT" NAME="email">
-
<FONT SIZE="-1" FACE="verdana, arial, helvetica">E-Mail Address *</FONT></TD></TR></TABLE>
-
<TABLE BORDER="0" WIDTH="350" NOWRAP="NOWRAP">
-
<TR>
-
<TD><BR><FONT SIZE="-1" FACE="verdana, arial, helvetica"><B>Choose a User
-
Name</B></FONT><BR><INPUT TYPE="TEXT" NAME="username">
-
<FONT SIZE="-1" FACE="verdana, arial, helvetica">User Name</FONT>
-
<FONT SIZE="-1" FACE="arial, helvetica"><BR><BR><B>Choose a Password</B></FONT><BR>
-
-
<INPUT TYPE="password" NAME="pwd">
-
<FONT SIZE="-1" FACE="verdana, arial, helvetica">Password</FONT><BR><INPUT
-
TYPE="password" NAME="pwd2"> <FONT SIZE="-1" FACE="verdana, arial, helvetica">Verify
-
Password</FONT></TD></TR></TABLE><BR><BR><INPUT
-
TYPE="SUBMIT" NAME="process" VALUE="Submit My Order"><INPUT
-
TYPE="RESET" NAME=""></TD></TR>
-
<TR>
-
<TD>
-
<HR SIZE="2" NOSHADE="NOSHADE"></TD></TR></TABLE></CENTER></FORM></BODY></HTML>
-
-
b) account management perl script(probably need to focus on if statement below)
---------------------------------------------------- -
#!c:\perl\bin\perl.exe
-
#!/usr/bin/perl
-
############################################
-
## ##
-
## Account Manager LITE User Signup ##
-
## by SiteInteractive.com ##
-
## http://siteinteractive.com/contact ##
-
## ##
-
## version: 1.09 ##
-
## last modified: 07/24/2002 ##
-
## copyright (c) 1998 - 2002 ##
-
## ##
-
## latest version is available from ##
-
## http://SiteInteractive.com ##
-
## ##
-
############################################
-
#
-
# Copyright 1998 Elite Host. All Rights Reserved.
-
#
-
# TERMS OF USE
-
# 1. Account Manager is for licensed customers
-
# only. Customer may use Account Manager as many
-
# times as customer wishes, as long as customer owns or runs the web
-
# site that Account Manager is installed on. Account
-
# Manager may not under any circumstances be sold
-
# or redistributed without the written consent of CGI Script Center and
-
# its owner Diran Alemshah.
-
#
-
# 2. CGI Script Center, at its own discresion, will decide if any terms
-
# of the this agreement have been violated by customer. Upon written e-
-
# mailed notification to Customer of Terms of Use violations, CGI
-
# Script Center may revoke customer's license to use Account Manager.
-
# In that event, Customer agrees to any and all of the following:
-
#
-
# a) Customers found in violation of this agreement, found reselling or
-
# redistributing Account Manager, or making
-
# Customers Members Area ID and password public to anyone in any
-
# manner will forfeit their Members area password and all rights to
-
# future versions of Account Manager.
-
#
-
# b). Customer will no longer be licensed to run any version of
-
# Account Manager.
-
#
-
# Indemnification
-
# 1. Customer agrees that it shall defend, indemnify, save and hold
-
# CGI Script Center, Elite Web Design and marketing, and any
-
# persons affiliated with either company, harmless from any and all
-
# demands, liabilities, losses, costs and claims, including reasonable
-
# attorney's fees asserted against CGI Script Center, its agents, its
-
# customers, officers and employees, that may arise or result from any
-
# service provided or performed or agreed to be performed or any product
-
# sold by customer, its agents, employees or assigns. Customer agrees to
-
# defend, indemnify and hold harmless CGI Script Center, its agents,
-
# its cusomters, officers, and employes,against
-
# liabilities arising out of; a) any injury to person or property caused
-
# by an products sold or otherwise distributed in connection with CGI
-
# Script Center products; (b) any material supplied by customer
-
# infringing or allegedly infringing on the proprietary rights of a
-
# third party; c) copyright infringement and (d) any defective products
-
# sold to customer from CGI Script Center products.
-
#
-
# This program may not be distributed in whole or part, freely, for pay,
-
# or any other form of compensation.
-
#
-
################################################## ###############
-
# This version designed for Win32 systems (NT). If you require
-
# a Unix version, please contact cgi@elitehost.com
-
################################################## ###############
-
-
-
################################################## ############
-
# EDIT USER CONFIGURATIONS BELOW
-
################################################## ############
-
-
# apache is in d DRIVE!!! not C
-
-
#require "d:/program files/apache software foundation/apache2.2/cgi-bin/config.pl";
-
-
# This completes this portion of your Account Manager setup
-
################################################## ############
-
# DO NOT EDIT BELOW THIS LINE
-
################################################## ############
-
-
use CGI;
-
use CGI::Carp qw(fatalsToBrowser);
-
use DBD::mysql;
-
use DBI;
-
use Email::Valid;
-
-
-
my $query = CGI->new;
-
-
unless ($CGI::VERSION >= 2.47) {
-
error('Your version of CGI.pm is too old. You must have verison 2.47 or higher to use this script.')
-
}
-
-
-
#SECTION B
-
#=========================================
-
#Database initialization and initial query
-
my ($dbh, $data_source);
-
my $mysql_server_name = 'localhost';
-
my $mysql_database_name = 'test';
-
my $mysql_user_name = 'root';
-
my $mysql_password = 'mysql1';
-
-
my $data_source = 'DBI:mysql:' . $mysql_database_name . ':' . $mysql_server_name;
-
my $dbh = DBI->connect( $data_source, $mysql_user_name, $mysql_password, {RaiseError=>1}) || die "$DBI::errstr";
-
-
-
-
-
#important line to pass email address from html to perl
-
my $agree_field = $query->param("agree") || 'Annonymous';
-
my $first_name = $query->param("fname") || 'Annonymous';
-
my $last_name = $query->param("lname") || 'Annonymous';
-
my $email_address = $query->param("email") || 'Annonymous';
-
my $user_name = $query->param("username") || 'Annonymous';
-
my $password = $query->param("pwd") || 'Annonymous';
-
-
-
#Newly added 14th nov 08
-
if ($agree_field == Annonymous)
-
{
-
print $query->header(),
-
$query->start_html(-title=>'annonymous'),
-
$query->p('Please kindly agree to the terms and condition below!'),
-
$query->p("You Agree? : $agree_field:"),
-
$query->end_html;
-
}
-
elsif ($agree_field != Annonymous)
-
{
-
$query->start_html(-title=>'annonymous'),
-
$query->p('Please kindly agree to the terms and condition below!'),
-
$query->p("You Agree? : $agree_field:"),
-
$query->end_html;
-
}
-
-
-
-
-
# End of Database initial Query
-
#==========================================
-
-
print $query->header(),
-
$query->start_html(-title=>'Input Successful'),
-
$query->p('Thanks for registrating your particulars with us!'),
-
$query->p("You Agree? : $agree_field:"),
-
$query->p("Your First Name : $first_name"),
-
$query->p("Your last Name : $last_name"),
-
$query->p("Your email address: $email_address"),
-
$query->p("Your username : $user_name"),
-
$query->p("Your Password : $password"),
-
$query->end_html;
-
-
sub error {
-
print $query->header(),
-
$query->start_html(-title=>'Error'),
-
shift,
-
$query->end_html;
-
exit(0);
-
}
-
-
-
-
my $sql = $dbh->prepare(qq{SELECT * FROM user_reg});
-
$sql->execute();
-
-
while (my @data = $sql->fetchrow_array()) {
-
-
# Print the date from the first two columns in the table
-
#print $data[0], "\t", $data[1], "<br>";
-
print $data[0], "\t", $data[1], "\t", $data[2], "\t", $data[3], "\t", $data[4], "\t", $data[5], "<br>";
-
}
-
-
1;
-
-
-
$sql = $dbh->prepare(qq{insert into user_reg(agree_field, first_name, last_name, email_address, user_name, password) values ( "$agree_field", "$first_name", "$last_name", "$email_address", "$user_name", "$password") } );
-
$sql->execute() or die "$dbh->errstr\n";;
-
-
$sql = $dbh->prepare(qq{SELECT * FROM user_reg});
-
$sql->execute();
-
-
-
while (my @data = $sql->fetchrow_array()){
-
-
# Print the date from the first four columns in the table
-
print $data[0], "\t", $data[1], "\t", $data[2], "\t", $data[3], "\t", $data[4], "\t", $data[5], "<br>";
-
-
}
-
1;
-
-
#Let's see if the email_address conforms to the RFC822 specification
-
print (Email::Valid->address($email_address) ? 'yes' : 'no');
-
-
-
-
9 4242 Icecrack 174
Recognized Expert New Member
The answer you are looking for is in Javascript, you may do it in perl but it takes time and processing power (even if its little)
and i don't see where you are checking if all the fields are entered in your code part b.
Hi Sirs,
Thanks for big help. I found this website and made modifications and it works.
Instead of using html, just use .pl scripts to generate html and having conditions to generate same login page... Time for expansion on this module... Cheers...
Cheers...
http://www.extropia.co m/tutorials/perl_cgi/form_processor. html
Thanks and Best Rgds,
Andrew -
#!c:/perl/bin/perl.exe
-
-
#!/usr/local/bin/perl
-
-
-
print "Content-type: text/html\n\n";
-
print qq!
-
<HTML>
-
<HEAD>
-
<TITLE>Testing Form Input</TITLE>
-
</HEAD>
-
<BODY>
-
<FORM METHOD = "POST" ACTION = "fp.cgi">
-
<CENTER>
-
<TABLE BORDER = "1">
-
<TR>
-
<TH>First Name</TH>
-
<TD><INPUT TYPE = "text"
-
NAME = "f_name"></TD>
-
</TR>
-
-
<TR>
-
<TH>Last Name</TH>
-
<TD><INPUT TYPE = "text"
-
NAME = "l_name"></TD>
-
</TR>
-
-
<TR>
-
<TH>Email</TH>
-
<TD><INPUT TYPE = "text"
-
NAME = "email"></TD>
-
</TR>
-
-
</TABLE>
-
<P>
-
<INPUT TYPE = "SUBMIT">
-
</CENTER>
-
</FORM>
-
</BODY>
-
</HTML>!;
-
-
Hi all,
I was working on this perl codes(see section b below) to create html user registration page...
But the first 3 rows first name to email address is highlighted yellow, so is the mobile_no, the Office phone, office phone 2 and house no. The rest are all white, not sure where in the code below indicates yellow or white?
And the code did not show red(helvetica) font in the row as it is(see section a below)
Section a
=========== -
-
<TR>
-
<TH>First Name *</TH>
-
<TD><FONT SIZE="-1" FACE="verdana, arial, helvetica"><B><INPUT TYPE = "text"
-
NAME = "f_name"></B></FONT></TD>
-
</TR>
-
-
Section b - Total Code
=============== == Icecrack 174
Recognized Expert New Member
I had the same thing happen to me on now most of my projects,
simple answer its google desktop.
and for the red font you must post this in HTML / CSS,
Hi all,
I tried to do 1 thing, that is to put a html rectangle shape to redirect to another webpage when i print the html output below.... But it gives me error below...
Error
-------
Software error:
syntax error at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/acctman2-if.pl line 405, near "$query"
syntax error at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/acctman2-if.pl line 405, near "396px"
syntax error at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/acctman2-if.pl line 405, near "169px"
syntax error at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/acctman2-if.pl line 405, near "150px"
syntax error at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/acctman2-if.pl line 405, near "31px"
Not enough arguments for index at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/acctman2-if.pl line 405, near "index:"
syntax error at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/acctman2-if.pl line 405, near "index:"
Execution of D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/acctman2-if.pl aborted due to compilation errors.
For help, please send mail to the webmaster (admin@gateway. 2wire.net), giving this error message and the time and date of the error. -
-
# End of Database initial Query
-
#==========================================
-
-
-
print "<HTML>";
-
print "<BODY>";
-
print "<FORM>";
-
print "<CENTER>";
-
print "<table border='3' CELLPADDING='5' WIDTH='270' BGCOLOR='#FF8000'>";
-
print "<tr>";
-
-
print $query->header(),
-
$query->start_html(-title=>'Input Successful'),
-
$query->p('Thanks for registrating your particulars with us!'),
-
$query->p("You Agree? : agree_field:"),
-
$query->p("Your First Name : $first_name"),
-
$query->p("Your Last Name : $last_name"),
-
$query->p("Your Email Address: $email_address"),
-
$query->p("Your Username : $user_name"),
-
$query->p("Your Mobile Phone : $mobile_phone"),
-
$query->p("Your Company Name : $company_name "),
-
$query->p("Your Office Phone : $office_phone"),
-
$query->p("Your Office Phone 2 : $office_phone2"),
-
$query->p("Your House Number : $house_number"),
-
$query->p("Your Fax Number : $fax_number"),
-
$query->p("Your House Address : $house_address"),
-
$query->p("Your Office Address : $office_address"),
-
$query->p("Your Mailing Address : $mailing_address"),
-
$query->p("Your Certify : $certify"),
-
$query->p("Your MonthNum : $MonthNum"),
-
$query->p("Your MonthA : $MonthA"),
-
$query->p("Your Year : $Year"),
-
$query->p("Your Month : $Month"),
-
$query->p("Your Day : $Day"),
-
$query->p("<body bgcolor="#FFFFFF" text="#000000">"),
-
$query->p("<div id="bv_Shape1" style="position:absolute;left:396px;top:169px;width:150px;height:31px;z-index:0" align="center">"),
-
$query->p("<a href="http://127.0.0.1/cgi-bin/cards2.pl"><img src="bv01016.gif" id="Shape1" align="top" alt="" title="" border="0" width="150" height="31"></a></div>"),
-
-
-
$query->end_html;
-
-
-
-
print "</tr></table>";
-
print "</CENTER>";
-
print "</FORM>";
-
print "</BODY>";
-
print "</HTML>";
-
-
-
sub error {
-
print $query->header(),
-
$query->start_html(-title=>'Error'),
-
shift,
-
$query->end_html;
-
exit(0);
-
}
-
-
KevinADC 4,059
Recognized Expert Specialist
these lines appear to be the problem: -
$query->p("<body bgcolor="#FFFFFF" text="#000000">"),
-
$query->p("<div id="bv_Shape1" style="position:absolute;left:396px;top:169px;width:150px;height:31px;z-index:0" align="center">"),
-
$query->p("<a href="http://127.0.0.1/cgi-bin/cards2.pl"><img src="bv01016.gif" id="Shape1" align="top" alt="" title="" border="0" width="150" height="31"></a></div>"),
-
-
You have double-quotes inside of double-quoted strings. Example: -
$query->p("<body bgcolor="#FFFFFF" text="#000000">"),
-
Could be written as: -
$query->p(qq{<body bgcolor="#FFFFFF" text="#000000">}),
-
Same with the other lines
Hi All,
I think the above example is wrong... I tried below new example with -
$query->start_html(-title=>'Input Successful', -head=>Link({-rel=>'next',
-
-href=>'http://127.0.0.1/cgi-bin/cards2.pl'})
-
),
... But it does not give me any button to click. And on the webpage it only showed this message
"noStatus: 302 Found Location: http://127.0.0.1/cgi-bin/cards2.pl "
Code is below... Kindly assist... thanks...
I am just trying to insert this code or equivalent as an html shape into the main perl script... Thanks in advance. -
<body bgcolor="#FFFFFF" text="#000000">
-
<div id="bv_Shape1" style="position:absolute;left:396px;top:169px;width:150px;height:31px;z-index:0" align="center">
-
<a href="http://127.0.0.1/cgi-bin/cards2.pl"><img src="bv01016.gif" id="Shape1" align="top" alt="" title="" border="0" width="150" height="31"></a></div>
-
Andrew -
-
print $query->header(),
-
$query->start_html(-title=>'Input Successful', -head=>Link({-rel=>'next',
-
-href=>'http://127.0.0.1/cgi-bin/cards2.pl'})
-
),
-
-
-
$query->p('Thanks for registrating your particulars with us!'),
-
-
$query->p("You Agree? : agree_field:"),
-
$query->p("Your First Name : $first_name"),
-
$query->p("Your Last Name : $last_name"),
-
$query->p("Your Email Address: $email_address"),
-
$query->p("Your Username : $user_name"),
-
$query->p("Your Mobile Phone : $mobile_phone"),
-
$query->p("Your Company Name : $company_name "),
-
$query->p("Your Office Phone : $office_phone"),
-
$query->p("Your Office Phone 2 : $office_phone2"),
-
$query->p("Your House Number : $house_number"),
-
$query->p("Your Fax Number : $fax_number"),
-
$query->p("Your House Address : $house_address"),
-
$query->p("Your Office Address : $office_address"),
-
$query->p("Your Mailing Address : $mailing_address"),
-
$query->p("Your Certify : $certify"),
-
$query->p("Your MonthNum : $MonthNum"),
-
$query->p("Your MonthA : $MonthA"),
-
$query->p("Your Year : $Year"),
-
$query->p("Your Month : $Month"),
-
$query->p("Your Day : $Day"),
-
-
$query->end_html;
-
-
-
Hihi Kevin,
Thanks! your code worked!! Sorry I missed out your reply, saw it in the nick of time
I modified to below and it worked... But I am trying to find out the one in comments worked or not?
#$query->start_html(-title=>'Input Successful', -head=>Link({-rel=>'next',
-href=>'http://127.0.0.1/cgi-bin/cards2.pl'})),
Thanks and Best Rgds,
Andrew -
print $query->header(),
-
#$query->start_html(-title=>'Input Successful', -head=>Link({-rel=>'next',
-
-
-href=>'http://127.0.0.1/cgi-bin/cards2.pl'})),
-
-
$query->start_html(-title=>'Input Successful'),
-
$query->p('Thanks for registrating your particulars with us!'),
-
-
$query->p("You Agree? : agree_field:"),
-
$query->p("Your First Name : $first_name"),
-
$query->p("Your Last Name : $last_name"),
-
$query->p("Your Email Address: $email_address"),
-
$query->p("Your Username : $user_name"),
-
$query->p("Your Mobile Phone : $mobile_phone"),
-
$query->p("Your Company Name : $company_name "),
-
$query->p("Your Office Phone : $office_phone"),
-
$query->p("Your Office Phone 2 : $office_phone2"),
-
$query->p("Your House Number : $house_number"),
-
$query->p("Your Fax Number : $fax_number"),
-
$query->p("Your House Address : $house_address"),
-
$query->p("Your Office Address : $office_address"),
-
$query->p("Your Mailing Address : $mailing_address"),
-
$query->p("Your Certify : $certify"),
-
$query->p("Your MonthNum : $MonthNum"),
-
$query->p("Your MonthA : $MonthA"),
-
$query->p("Your Year : $Year"),
-
$query->p("Your Month : $Month"),
-
$query->p("Your Day : $Day"),
-
$query->p(qq{<body bgcolor="#FFFFFF" text="#000000">}),
-
$query->p(qq{<div id="bv_Shape1"
-
-
style="position:absolute;left:396px;top:169px;width:150px;height:31px;z-index:0"
-
-
align="center">}),
-
$query->p(qq{<a href="http://127.0.0.1/cgi-bin/cards2.pl"><img src="bv01016.gif"
-
-
id="Shape1" align="top" alt="" title="" border="0" width="150" height="31"></a></div>}),
-
-
-
$query->end_html;
-
KevinADC 4,059
Recognized Expert Specialist
Sorry, I don't even know what the Link attribute is used for. I suspect its something left over from older versions of HTML but I'm not sure. What do you think it should do?
Edit....
OK, I just remembered what Link is for. I don't think you can use it to link to another perl script though. So once again, what is your intention and what do you think it should do?
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: migue |
last post by:
way below newbie level:
I know nothing about .Net. Have a VB6 client-server application (business
app, inventory, purchasing, invoicing, etc.) and am considering converting
it to VB.Net at a customer's request. The goal is to have access to the
application from remote locations without the need to install anything on
the client.
Question 1:
How will the user's desktop experience change using .Net vs. VB? i.e. will
|
by: Paul Deverson |
last post by:
I'm a newbie to MySQL and am really confused about when I should be using
the Command Line Client and when the DOS prompt.
I'm using Windows XP and I've just installed MySQL 4.1.10.
I can use the Command Line Client to logon as 'root'. It prompts me for a
password and then I can create databases, etc. from the mysql prompt.
However, if I wanted to logon as a different user, I'm not sure how to do
it.
|
by: Petesman |
last post by:
I am trying to make a prompt that will ask the user for some input...
If I just use var input = prompt("dafa") everything works fine but the
box is put in the top left corner of the window. I need it to be
centered so... I was doing some research on the net (never really used
much JavaScript before) and was reading the only way to do this is by
making your own custom prompt. In my attempts of doing so I came up
with this code below. The...
|
by: R Bolling |
last post by:
Hi, I have a table where two fields will make up the primary key. In
a few cases the second field will be blank. When I try to append the
existing data into the keyed table I get the message that it cannot
append a null value into the keyed field.
Is there any way to set this up to allow the nulls in that second
field?
Thanks for any assistnace with this.
|
by: brucedodds |
last post by:
This post is for senior developers.
I'm an Access contractor. This morning I see a listing for a position
that seems to require development of a self-modifying database. The
application may need to provide an interface for the user to add
fields and possibly tables on the fly, with automated form and report
modification and generation.
I have never done this. While I have worked on projects where this
might have been useful, it has...
| |
by: James G via AccessMonster.com |
last post by:
Hi
I have a textbox (Final Flat) that contains a default value of zero. The
other 2 textboxes (Final rate and Final Minimum) always have a numeric value
in them. What i want to do is this......whenever the (Final Flat) is keyed
in, then delete the values in the Final Rate and Final Minimum...........how
would i go about doing this?......thank you!
--
|
by: Chris |
last post by:
novice question here...
I am building a registration form while learning Asp.Net. I am having
trouble passing data between "dynamically"-added server controls.
To simplify, I have a single Registration.aspx page that contains 2
panels. Each panel is loaded with a user control during Page_Load():
protected Panel panel1;
protected Panel panel2;
|
by: Steven |
last post by:
I am using VC++ 6.0 to build a windows based application, however, my
application allows user to input command arguments in the dos prompt
windows. I want to have a warning message for user if they have input the
wrong arguments. How can I write text to the dos prompt windows if user
input the wrong arguments?
Thanks in advance.
Steven.
|
by: satishknight |
last post by:
Hi,
Can some one tell me how to change the validation sequence for the code pasted below, actually what I want it when any one enters the wrong login information (already registered users) then it has to tell then them its wrong information but currently it takes then to a next page and then tells them its incorrect information. This is tedious as every time they enter wrong they will be redirected to a different page and then they have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |