Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HTML
<INPUT name="EQN" id="EQN" type="text" onchange="ReloadPage()" size=10 value=<% =UCase(request("EQN")) %>> - 
<INPUT name="JBN" onchange="ReloadPage()" class="textbox" size=10 value=<% =UCase(request("JBN")) %>> - 
<INPUT name="TGN" onkeyup="SetFocuson()" class="textbox" size=10 maxlength="4" value=<% =UCase(request("TGN")) %>>

<%
TagNo=UCase(Request("EQN")) & "-" & UCase(Request("JBN")) & "-" &  UCase(Request("TGN"))%>

Example: TagNo='700SBM02-70281-35GW'
i want display result as 7000SBM02 IN 1ST textbox, 70281 in 2nd textbox, 35GWin 3rd textbox

What I have tried:

I have tried split function. but it is not working.
Please help me
Posted
Updated 20-Dec-18 1:38am
v3
Comments
CHill60 20-Dec-18 4:40am    
"it is not working" does not give us any information! Post the code you used and explain what went wrong when you used it
MadMyche 20-Dec-18 7:39am    
Is TagNo really constructed from the 3 inputs, or are you trying to pass it in and have it parsed into the boxes?
ZurdoDev 21-Dec-18 13:48pm    
Split would work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900