Aleks
asked on
Display region if value exists and is 13 characters long.
I am using ASP Classic / VB Script . I need to add some code to display a region IF the value of a recordset field is 13 characters long.
This is inside a repeated region (I am using DW CC 2014.1)
Display the following code:
---
<div align="center"><span class="bodytext"><a href="javascript:;" class="bodytextreports" onClick="GP_AdvOpenWindow( '../../../ USCIS.asp? ReceiptNum =<%=(Recei pts.Fields .Item("rcp tno").Valu e)%>','USC IS','fulls creen=no,t oolbar=no, location=n o,status=n o,menubar= no,scrollb ars=yes,re sizable=ye s,channelm ode=no,dir ectories=n o',800,600 ,'center', 'ignoreLin k','',0,'' ,0,1,5,'') ;return document.MM_returnValue">T racking</a ><br>
</span></div>
---
if the value in %=(Receipts.Fields.Item("R cptNo").Va lue)%> is NOT null or '' and its 13 characters long
This is inside a repeated region (I am using DW CC 2014.1)
Display the following code:
---
<div align="center"><span class="bodytext"><a href="javascript:;" class="bodytextreports" onClick="GP_AdvOpenWindow(
</span></div>
---
if the value in %=(Receipts.Fields.Item("R
ASKER
Sweet ! thanks !
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for amucinobluedot's comment #a40802567
for the following reason:
Great !
Accepted answer: 0 points for amucinobluedot's comment #a40802567
for the following reason:
Great !
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry .. lol
ASKER
:)
Open in new window