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

Data lost when edit field element

Discussion in 'Community' started by bluetoothbj, Dec 9, 2019.

  1. bluetoothbj

    bluetoothbj Member

    Level: Community
    For a field element.I set input type number.Format is integer.
    format.JPG
    And I typed data :

    upload_2019-12-9_21-25-54.png

    But when I edit that element.Data lost:
    222.JPG

    May anyone tell me what is the matter?Thanks
     

    Attached Files:

  2. jmoises

    jmoises Member

    Level: Community
    what do you meen data lost? the element are without data when accesing again the record?

    did you try to see in the database is recorded?
    are you using a custom fabrik template ?
    are you using any form plugin? (like php form pluggin)

    Try this, create new record, then go to the database using phpmyadmin find you table, recod, and view if the data is saved.
    if the data is save it , open the record using you form again can you see the empty element?
     
  3. bluetoothbj

    bluetoothbj Member

    Level: Community
    Thanks jmoises,
    The data saved in database. My meaning is when I view the list data.Data could be displayed:
    upload_2019-12-10_8-24-18.png

    But when I edit the list data,Data douldn't be displayed and I have to input value again,Or the data will lost when I saved:
    upload_2019-12-10_8-26-15.png
     
  4. jmoises

    jmoises Member

    Level: Community
    Please try to check if you have any Javascript errors, using google crome / developers tools / console

    upload_2019-12-9_17-16-7.png
     
  5. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    I suspect it's because you are using a comma as a thousand separator, but you selected "integer" as the field type. Integers don't have commas in them.

    Try inputting a number without the comma, see if it works.
     
  6. bluetoothbj

    bluetoothbj Member

    Level: Community
    Thanks cheesegrits, I changed Input type of the field from Number to Text. Solved.
     
    jmoises likes this.

Share This Page