+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: phone number field

  1. #1

    phone number field

    Hi FLYNAX Team

    the phone number field is show from right to left in arabic
    the phone number must be left to right
    I report this problem years ago but when I use the new OLX template i fond the same problem
    how can I fix it and I hope FLYNAX team fix it in all template
    THANKS

    Screenshot_2021-02-09 تسجيل حساب.png

    the phone number field can't start with 0 and can't have more the 9 numbers
    I can't this number in the field 0123442253
    how can I fix this
    I try to add the contry code in the beging by adding data entry wihe my contry code and Link to Data Entries
    but nothing habend
    what I want is 0123456789 or +249 123456789
    PLEASE HELP

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,017
    Hello,

    - What phone you mean exactly in OLX template?

    - To extend the length of the number, go to admin > tpl > blocks > fields > add_edit_form.tpl > search for name="phone[phone_length]"

    change maxlength="1" to maxlength="2"

  3. #3
    sorry Screenshot did not show on the first post

    Screenshot (6).png

    how can I make it start with 0
    like this 0123456789
    every time I start a phone number with 0 it disaper and it show like this
    123456789
    can you help me please

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,017
    You don't need to use 0 when there is a code section that starts with +

    but if you need to remove the middle section (area) making the phone format like this +249 123456789

    it will require some customization


    to make phone inputs in ltr direction on registration form, add this css style into templates > your_template > css > style.css:

    Code:
    Only registered members can view the code.

  5. #5
    the code did not fix it

    Screenshot (8).png

  6. #6
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,017
    Try to clear your browser cache or create a ticket

  7. #7
    it get fixed
    I hope you will fix it in all of the templetes

    THANKS
    Last edited by Mohammed Elbadawi; February 11, 2021 at 08:34 AM.

  8. #8
    Hi

    I created a data entry with contry code and I linked it to phone field

    Screenshot (9).png

    but when I enter a phon number the firs part did't show up
    if I enter {+249} 123456789
    it just show 123456789
    how can I fix this



    also the Individual page field show wrong way

    Screenshot (10).png


    THANKS
    Last edited by Mohammed Elbadawi; February 14, 2021 at 01:15 PM. Reason: fix a tybo

  9. #9
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,017
    Hello,

    I need to look into these issues

    you can send me your valid ftp details to my PM

    or create a ticket

  10. #10
    I send the FTP login to your PM

    THANKS

+ Reply to Thread