outputing the field #phonenumbers# to put spaces in there


outputing field #phonenumbers# put spaces in there


well yup , new @ this!

the field #phonenumbers# , #phonenumbers2#
outputs
8005551234
the out put thinking of
800 555 1234
or
800 555-1234
or
(800) 555-1234

which best can show me first one??

also, #phonenumbers# , #phonenumbers2# passed hidden field , variable.
and comes <cfscript>

here looks
<cfscript>
phonenumbers = "#getphonenumbers.areacode# #getphonenumbers.telphonenumber# ";
</cfscript>

----
another field first 3 numbers stored seperate next 4

<cfscript>
phonenumbers2 = "#getphonenumbers2.areacode2# #getphonenumbers2.telphonenumberfirst3_2# #getphonenumbers2.telphonenumbernext4_2#";
</cfscript>

help? in advance.

you can use left, mid, , right functions parse phone numbers. detail in cfml reference manual. if don't have one, internet does. if using google, coldfusion 1 word.

if understand 2nd part of post correctly, might not have parsing @ all. if area code, 1st 3, , last 4 separate db fields, can display them separately.


More discussions in Getting Started


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

listen to event