1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Double time specification error

Discussion in 'Community' started by jmoises, Dec 3, 2019.

  1. jmoises

    jmoises Member

    Level: Community
    I am staring to get this error message on a form after submit.

    i have a form with a date element

    upload_2019-12-3_9-53-39.png
    no idea why is doing it

    thanks for any help
     
  2. jmoises

    jmoises Member

    Level: Community
    ok i notice that if i disable a VAlidation on and other element i dont get the error

    upload_2019-12-3_10-12-52.png
     
  3. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    What is your "form format" set to on the date element?

    -- hugh
     
    jmoises likes this.
  4. jmoises

    jmoises Member

    Level: Community
    here is the image
    Y-m-d
    upload_2019-12-3_13-7-11.png
     
  5. jmoises

    jmoises Member

    Level: Community
    @cheesegrits I try diferents Validations and when is active i get the error, but if i remove the validation there is no error.
     
  6. jmoises

    jmoises Member

    Level: Community
    friendly pump
     
  7. troester

    troester Well-Known Member Staff Member

    Level: Community
    So the error is only if a validation is failing? Or on every submit?
     
  8. jmoises

    jmoises Member

    Level: Community
    As long the Validation is publish, on every submit i get the error.
     
  9. troester

    troester Well-Known Member Staff Member

    Level: Community
    Is it only in one form?
    Do you have form plugins or a calc element?
    Any type of validation or only "isnot"?
     
  10. jmoises

    jmoises Member

    Level: Community
    Hello i change the validation to notempty and have the same problem on the date element, when i submit it add the time again in the date area:

    upload_2020-1-23_14-27-46.png

    the submit is ok but the error keep show: and if you can notice i specify 15:00 and is show the pc time 14:25

    upload_2020-1-23_14-28-13.png
     
  11. jmoises

    jmoises Member

    Level: Community
    o i have set to no error show and same.

    upload_2020-1-23_14-30-11.png
     
  12. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    Are you running a recent github? I've done some work on dates in the last month or so.

    Also, have you tried the new 'jdate' element, which uses the "new" (as of J! 3.7.x) Joomla date library? That's the one to use moving forward, as Joomla deprecated all the date code used in the original 'date' element. So I'm not doing much maintenance on the original 'date' element.

    -- hugh
     
  13. jmoises

    jmoises Member

    Level: Community
    thanks for reply Hugh,

    I am updating latest gthub,

    i try sometime to use the new jdate elemente but i remember i got and error because the core datetime element what diferent,

    just to make clear should i use jdate only on my form ?
     
  14. lousyfool

    lousyfool Active Member

    Level: Community
    Yes, you should be using only either 'date' or 'jdate', not both, and certainly not both in the same form... that'll throw errors.
     
  15. jmoises

    jmoises Member

    Level: Community
    ok before i change to jdate testing, like to let you know that the message

    upload_2020-2-5_13-11-22.png

    is when i use the timepicker or the date calendar if i dont use this i dont get and error.

    upload_2020-2-5_13-12-6.png
    upload_2020-2-5_13-13-56.png
     

Share This Page