Custom Patterns Phone formats in the same text field

Must allow the user to enter two phone formats patterns in the same text field and are validated.
Example: (00) 0000-0000 or (00) 00000-0000
How to do this by Spryvalidation of Dreamweaver?
Thanks for all

Hey, ladobeugm-
One thing to note is that you probably need to escape the quotes in your span tag.  What you have is an issue with quotation marks - for instance, all JavaScript sees is <span style="font-family: in your first string, and only sees <span style="font-family: " in your second.  Play around with escaping to see if you can get your span to work.
Hope that helps,
-Elaine

Similar Messages

  • Is it possible to create different font styles within the same text field?

    The form I am creating is getting really complex because when different fields require different font treatments (bold, italic, different font size, different font) I have to create a seperate text box and get it to align with the others. This wouldn't be an issue in most cases but this form is really detailed and has many text boxes. Before I stuggle too much longer on it, I thought I would check and see if there is a way to make them all in the same text field. If not, perhaps I am trying to use Acrobat for something it is not meant for. Any recommendations on other programs I could use? Thanks

    Thank you try76. I'm not sure if I did it correctly. As soon as I tick the Rich Text Formatting box it automatically changes the appearance of the text in the field (Helvetica Light to something like Helvetica Heavy) I can't seem to get the font back to Helvetica light or change the font size while the Rich Text Formatting box is ticked.

  • Using more than one web font in the same text field

    I know I can do something like this when calling more than one weight in a web font:
    sym.$('copy').html('<span style="font-weight: 700;">Adobe</span> | About Us')
    And the word Adobe will be bolder than About Us. But what about using more than one font in the same text field? I tried this:
    sym.$('copy').html('<span style="font-family: 'Open Sans', sans-serif;">UHLIG</span> | About Us')
    Now that doesn't work and I get a SyntaxError: missing ) after argument list
    I then tried
    sym.$('copy').html('<span style="font-family: "Open Sans", sans-serif;">UHLIG</span> | About Us')
    and the text rendered but whatever was selected in the font menu was what got displayed.
    Is there a way around this to display two different fonts, web fonts or not, in the same field?

    Hey, ladobeugm-
    One thing to note is that you probably need to escape the quotes in your span tag.  What you have is an issue with quotation marks - for instance, all JavaScript sees is <span style="font-family: in your first string, and only sees <span style="font-family: " in your second.  Play around with escaping to see if you can get your span to work.
    Hope that helps,
    -Elaine

  • Every time I text my wife's I phone it sends the same text to me.

    I share an apple account with my wife. Every time I text her I phone from my I phone I get the same message sent back to me.

    JujufromAr wrote:
    I share an apple account with my wife. Every time I text her I phone from my I phone I get the same message sent back to me.
    When you use the same AppleID to setup iMessage, you both end up sharing the same iMessage account.  The cleanest solution to your problem is for one of you to get another AppleID and use that for your iMessage, thus completely separating eachothers iMessage accounts.
    Each of you can have as many AppleIDs as you wish (all you need is a unique primary email for each one, using free email accounts, for example).  And, you can use a different AppleID for each service that Apple offers - iCloud, iMessage, iTunes, the App store, these forums,...
    So, you can both use a common AppleID for all your purchased content from iTunes and the App store, but use different and unique AppleIDs for iCloud and iMessage so those accounts are not shared.

  • How to handle Multiple date formats for the same date field in SQL*Loader

    Dear All,
    I got a requirement where I need to get data from a text file and insert the same into oracle table.
    I am using SQL*Loader to populate the data from the text file into my table.
    The file has one field where I am expecting date date data in multiple formats, like dd/mon/yyyy, yyyy/dd/mon, yyyy/mon/dd, ,mm/dd/yyyy, mon/dd/yyyy.
    While using SQL*Loader, I can see Loading is failing for records where we have formats like yyyy/dd/mon, yyyy/mon/dd, mon/dd/yyyy.
    Is there any way in SQL*Loader where we can mention all these date formats so that this date data should go smoothly into the underlying date column in the table.
    Appreciate your response on this.
    Thanks,
    Madhu K.

    The point being made was, are you sure that you can uniquely identify a date format from the value you receieve? Are you sure that the data stored is only of a particular limited set of formats?
    e.g. if you had a value of '07/08/03' how do you know what format that is?
    It could be...
    7th August 2003 (thus assuming it's DD/MM/RR format)
    or
    8th July 2003 (thus assuming it's MM/DD/RR format)
    or
    3rd August 2007 (thus assuming it's RR/MM/DD format)
    or
    8th March 2007 (thus assuming it's RR/DD/MM format)
    or even more obscurely...
    3rd July 2008 (MM/RR/DD)
    or
    7th March 2008 (DD/RR/MM)
    Do you have any information to tell you what formats are valid that would allow you to be specific and know what date format is meant?
    This is a classic example of why dates should be stored on the database using DATE datatype and not VARCHAR2. It can lead to corruption of data, especially if the date can be entered in any format a user wishes.

  • How to remove an apple id and make a new one for we have the same on both phones and we r getting the same texts

    how to make a new apple id since two phone r on the same id. Receiving each other texts.

    Have a look here if you wish to continue with One Apple ID.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • HT204053 i share apple ID and downloaded the new apple itunes software, now both phones share contacts and receive the same text messages...how do i fix this? How can i establish a new apple ID for a iphone and still use my computer to sync the iphone, wh

    i share an apple ID for itunes with 2 separate iphones, i update IOS to 6.1 2 months ago, my contacts megered on phones and now i get the same text messages on both phones. How do i fix this?

    To use iCloud your iPhones and your Macs should all be signed into the same account, what are you trying to achieve.?

  • I downloaded the new iOS 6 for my iphone 4.  I have 2 iphones on my account and after the "upgrade" text messages go to both phones.  When I send a text to my wife I recieve the same text and vise versa.  How can I fix this?

    I downloaded the new iOS 6 for my iphone 4.  I have 2 iphones on my account and after the "upgrade" text messages go to both phones.  When I send a text to my wife I recieve the same text and vise versa.  How can I fix this?

    "Sounds like you guys are using the same apple id for imessage.   You will need to create a separate id for you wife.  OR go to settings - message - receive&send and make sure your phone number is the default for both you and yoru wife.

  • If i download ios5 to my iPod, because my apps will get deleted will i be able to keep the same text free phone number?

    If i download ios5 to my iPod, because my apps will get deleted will i be able to keep the same text free phone number?

    If you update correctly yuyr apps wiull not be deleted and you can restore from backup.  Just make sure that all theapps are in the library of he computer and that there is a backup of your iPod.  Thenupdate and if necessary, restor from backup.  Also see:
    iOS 5: Updating your device to iOS 5

  • HT3529 How do I send a text message to more than one phone number at the same time?

    How do I send the same text to more than one phone at the same time?

    You'll need to see if there's an app in the App Store that does what you want. Search for "Group SMS" or similar.

  • Very frustrated with my LG G2. My screen freezes all the time when texting. This started after the upgrade. My husband's phone is doing the same thing. We have reset the phones, deleted off pics and videos but nothing helps.

    Very disappointed in my LG G2. My screen freezes all the time especially when texting. This started after the update. My husband's phone is doing the same thing. We have done a hard reset, deleted pics and videos to clean up the phone but nothing helps. Any suggestions? Our phones are new.

    Lots of Frustration.  In some cases the LGG2 is rendered useless even as a phone.
    Here is what I did.
    Got replacement Phone.
    Same problems but I shut down all apps that I purchased even though they worked before KitKat.
    Found that If I have both WiFi and LTE Data on at the same time battery chewing stops. Do Not know why.
    Then I got 2 CM free utilities.  The Clean and Wash utilities. Run them and find the culprits grinding CPU
    cycles and running down the battery.  Number One is the Verizon Voice Mail service constantly turning on and off
    and retrieving data not there.  Turn of the extra Voice mail and use the old access with the *6.  Unless you have
    100 messages a day for business your hosed until this KitKat issue is fixed. Get the CM battery utility.
    YOU can see the battery suckers and shut them down when not using automatically.
    Start putting back one application at a time you used often and see it they work and if the utilities will tune them
    down if they cause problems.  The LG will get better but with some limitations.
    LG and Verizon have a problem with what was a great phone.turned bad overnight.
    whatmorecanyousay

  • How do I set a custom time & date format in the top bar?

    Hello guys,
    Very embarassing question, because I've had Apple's for all of my life (starting with the original Apple Macintosh) but I still haven't figured out one thing
    How do I set a custom time & date format in the top bar?
    When I go to System Preferences > Language & Text > Formats I can set different formats. I have no idea where you will see these, but I know that it's not the top bar where the time and date is being displayed. Because no matter what I enter, the format in the top bar will stay the same. I can only choose things like 24-Hour clock or not, blinking dots and so on in the Time & Date settings from the System Preferences.
    Can anyone here point me in the right direction? I see you can even choose to display the week of the year - I'd love to do that!
    All help appreciated!
    Greetings

    Language & Text system preferences, Formats tab, customize dates.
    There are also many third party menu item utilities that can.  Search Macupdate.com for some.
    One search yielded iClock Pro.  Although I never used it I would think it allows customization.  The link I gave you is to the Macupdate download page for that app.  On that same page is a Similar Software section which has other apps that can do the same thing. 
    One listed is iStat Menus.  The primary use for iStat Menus is not for displaying date/time but it does do that.  And I know it can do what you want because I use iStat Menus to track temperature sensors n my machine and, like you, I want to customize the menu time/date.  So I use it instead of the apple clock.  It does have the customization features I think you are looking for.

  • Can I get the same text messages on both my iPhone and my iMac

    can I get the same text messages on both my iPhone and my iMac
    It seems that my Mac is getting them and they dont show up on my iphone.

    Hi julian KAYE!
    You will want to make sure that both your computer and phone have all options checked in the “Start new conversations from” section in your Messages settings:
    iOS: Using Messages
    http://support.apple.com/kb/ht3529
    You can change the address that new iMessage conversations are started with in Settings > Messages > Send & Receive > Start new conversations from. Note that this setting applies only to new conversations. If you would like to change the address from which messages are sent, first change this setting, and then delete the existing conversation and start a new one.
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • How to display data with the same text and key in the drop down list?

    Hi All,
    Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    REPORT ZTESTING.
    TYPE-POOLS: VRM.
    DATA: NAME  TYPE VRM_ID,
          LIST  TYPE VRM_VALUES,
          VALUE LIKE LINE OF LIST,
          c(20) type c.
    *      c = 'select any'.
    data:begin of itab occurs 0,
          kunnr like kna1-kunnr,
          name1 like kna1-name1,
         end of itab.
    data:begin of jtab occurs 0,
          kunnr like kna1-kunnr,
          land1 like kna1-land1,
         end of jtab.
    PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
                              default 'SELECT'.
    AT SELECTION-SCREEN OUTPUT.
    NAME = 'p_list'.
    VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    APPEND VALUE TO LIST.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'Country'.
    APPEND VALUE TO LIST.
    CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    start-of-selection.
    select kunnr name1 up to 20 rows from kna1 into table itab.
    select kunnr land1 up to 20 rows from kna1 into table jtab.
    case p_list.
    when '1'.
    loop at itab.
    write:/ itab-kunnr,itab-name1.
    endloop.
    when '2'.
    loop at jtab.
    write:/ jtab-kunnr,jtab-land1.
    endloop.
    endcase.
    <Added code tags>
    Moderator Message: Please use the "code" tags to format your code snippet.
    Edited by: Suhas Saha on Nov 17, 2011 11:19 AM

    shawnTan wrote:
    Hi All,
    >
    > Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    >
    >
    REPORT ZTESTING.
    >
    > TYPE-POOLS: VRM.
    >
    > DATA: NAME  TYPE VRM_ID,
    >       LIST  TYPE VRM_VALUES,
    >       VALUE LIKE LINE OF LIST,
    >       c(20) type c.
    >
    > *      c = 'select any'.
    >
    > data:begin of itab occurs 0,
    >       kunnr like kna1-kunnr,
    >       name1 like kna1-name1,
    >      end of itab.
    >
    > data:begin of jtab occurs 0,
    >       kunnr like kna1-kunnr,
    >       land1 like kna1-land1,
    >      end of jtab.
    >
    > PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
    >                           default 'SELECT'.
    >
    > AT SELECTION-SCREEN OUTPUT.
    >
    > NAME = 'p_list'.
    >
    > VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    > VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    > APPEND VALUE TO LIST.
    >
    > VALUE-KEY = '2'.
    > VALUE-TEXT = 'Country'.
    > APPEND VALUE TO LIST.
    >
    > CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    >
    > start-of-selection.
    > select kunnr name1 up to 20 rows from kna1 into table itab.
    > select kunnr land1 up to 20 rows from kna1 into table jtab.
    >
    > case p_list.
    > when '1'.
    > loop at itab.
    > write:/ itab-kunnr,itab-name1.
    > endloop.
    >
    > when '2'.
    > loop at jtab.
    > write:/ jtab-kunnr,jtab-land1.
    > endloop.
    > endcase.
    >
    > <Added code tags>
    >
    > Moderator Message: Please use the "code" tags to format your code snippet.
    >
    > Edited by: Suhas Saha on Nov 17, 2011 11:19 AM
    This surely seems to be a bug to me(if not by design),  did you check for any SAP notes? Perhaps a front end trace can help(Note 407743) !
    -Rajesh.

  • IPhone keeps sending the same text message multiple times in a row.

    My iphone (4s) keeps sending people the same text message multiple times (2-4) a few seconds inbetween.  Sometimes it will tell me that there the message failed, but they still recieve it multiple times.  I've already tried deleting the message tread and reset network settings.  Nobody who has an iphone has said anything to me about it yet, only people with android.  

    It's a carrier issue. I have AT&T and had this issue with my friend (who had an Android) and my mother (who had a feature phone). Both of them have Verizon for service and I'm thinking the issue was on Verizon's end. They both just dealt with it as we tried all sorts of things to get this sorted out (other than contacting Verizon directly) and had no luck.
    They've both switched to iPhones so it's a moot point for us now, at least.
    ~Lyssa

Maybe you are looking for