Dunkie
|
| Posted: 09/25/2002, 7:55 AM |
|
hi,
I've created a form in CCS to capture user info in a support center. When the userid is entered for sayedwin@mycompany.com, I wish only to have the data entry to have "edwin" and the "@mycompany.com" bit to be added using a BEFORE INSERT. I can achieve this in CC but in CCS it's not working. Anyhelp here?
'Custom Code @28-73254650
' -------------------------
' Write your own code here.
dim afol, uname
afol="@" & "africaonline" & "." & "com"
uname=getparam(cs_calllog.username.value)
cscallog.username.value=uname & afol
' -------------------------
'End Custom Code
|
|
|
 |
Nicole
|
| Posted: 09/30/2002, 2:47 AM |
|
Dunkie,
as I see you just want to concatenate the value entered by user and the custom code. Use the following code in the Before Insert event:
Dim afol
afol="@" & "africaonline" & "." & "com"
'OR
' afol="@africaonline.com"
form_name.DataSource.username.Value = form_name.DataSource.username.Value & afol
|
|
|
 |
|