|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by jeffeades in Scripting Languages, Web Authoring, Miscellaneous Web Development
I am trying to send this data to a payment service. The MS SQL table returns a 9 digit number and the website I am sending it to requires a 10 digit number. I can put a 0 between value=" and <%=(R. This will allow the 9 digit number to work but it kills my 10 digit numbers since the value is now 11 digits. Does anyone know how I can do either an if statement or an asp right command to make the 9 digit numbers 10 digits with a lead 0 and leave my 10 digit numbers untouched.
<input type="hidden" name="acct_number" value="<%=(Recordset2.Fiel
ds.Item("B
ILLERPAYOR
ID").Value
)%>">
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625