A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: [CS3] check input in form fields available?

  1. #1
    Junior Member
    Join Date
    May 2008
    Posts
    22

    [CS3] check input in form fields available?

    hello there,

    i have made some contact form in flash with php, i want to check the input in the fileds are correct,

    somebody have a check guide that check this forms

    phone: if only num' are inserted.
    mail: if the input contein @ and .
    name: if the name contined only letters

    if that very complicated I would like some guide that explain about the z-index with flash,
    I would like to build a contact form, in html and the flash will be the background.


    thanks alot

    avi

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    phone: if only num' are inserted.
    name: if the name contined only letters

    Use textfield.restrict()
    mail: if the input contein @ and .
    use indexOf()

    Flash has no z-index, really.

    gparis

  3. #3
    Junior Member
    Join Date
    May 2008
    Posts
    22
    i can to comfrim flash as background and on the flash to put the contact form

    i should use div and css code
    and put the
    position: absolute

    i check the
    Use textfield.restrict()

    and I use this code:
    firstName.restrict = "A-Z";

    and if i input num' the fileds are contein numbers, what that command are doing i would like that i cannot write any number in that filed
    Last edited by cubes.co.il; 05-03-2008 at 01:53 PM.

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    firstName needs to be the instance name of the field, not a variable.

    gparis

  5. #5
    Junior Member
    Join Date
    May 2008
    Posts
    22
    yeah i forget that for sec...

    you know where i can get guide for z-index with flash?

  6. #6
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    For anything z-index, try the html/css/javascript forum.

    gparis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center