Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 15th, 2005, 05:56 AM
Authorized User
 
Join Date: Oct 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem in the displaying two strings

i have two two field 1)select type options 2) input type text..in first page...

first page:-

Code:
Voucher Type:<SELECT name="voucher_type"><option value="" selected></option><option VALUE="BP">BP</option><option VALUE="BR">BR</option><option VALUE="JV">JV</option></select>
<br>
Voucher No.:<input type="text" name="voucherno" size="4" >
in second page, i want that it display Voucher Type+Voucher No..

for example when i enter values in Voucher Type is BP and Voucher No. is 1...it should be display as BP0001...

if i enter Voucher No. is 2.. then it displays BP0002.....vice versa..

Note that: if i enter 1 then it would be 0001
 if 10 then it would display 0010,
if 100 then 0100,
if 1000 then same 1000

Note that it wuld join the Voucher Type and Voucher No...

for ex--BP0001, BP0010, BP0120, BP1500

help me...

abhi






Similar Threads
Thread Thread Starter Forum Replies Last Post
VLookup with Strings Problem dem1an Excel VBA 1 June 3rd, 2008 10:46 AM
query strings problem saroo .NET Framework 2.0 1 October 23rd, 2007 06:41 AM
Image displaying problem creative_eye VB Databases Basics 0 April 7th, 2006 07:44 AM
Storing and Displaying Formatted Strings anubhav.kumar Classic ASP Professional 17 October 26th, 2004 10:17 PM
Problem in displaying the value of an attribute agarwal_parul XSLT 1 March 10th, 2004 05:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.