Jump to content

C.courtens

Registered Users - Approved
  • Posts

    2
  • Joined

Converted

  • Location
    France

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    8.2.7

Converted

  • OS
    Windows XP SP2

Converted

  • Acrobat Version
    Acrobat X (10)

C.courtens's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter Rare

Recent Badges

10

Reputation

  1. hello, Sorry for my English, I'm french. I'm in trouble with my javascript code for a rule. I try to change the color of my text but fusion pro doesn't interprate the code, it just translate into html. var s = Field("tel"); s = s.replace(/\D/g,""); if (s.length == 10) { return "" + "" +Left(s,1) + "" + s.substring(1,2) +" " + s.substring(2,2)+ "" + s.substring(4,2) +" "+ s.substring(6,4) +" "+ s.substring(8,6) + " " +Right(s,2); } else { string1="!!!! NUMERO DE TELEPHONE NON CONFORME !!!!" ; return '<color name="red">' + string1 + "</color>"; } I just want to write a message if the phone number is not correct (10 numbers in my country), but FB write « <color name="red">!!!! NUMERO DE TELEPHONE NON CONFORME !!!!</color> » Can someone help me ?
×
×
  • Create New...