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

Default value for field element.

Discussion in 'Community' started by jo-ka, Oct 12, 2018.

Thread Status:
Not open for further replies.
  1. jo-ka

    jo-ka Member

    Level: Community
    Hello.
    I have a field element, for which I want to set a default value. So I've made this on the element:

    upload_2018-10-12_18-33-55.png
    I don't know why, but it doesn't work. If I use the same code on a textarea, it works. The database field type is an integer.

    Am I doing something wrong? Thanks in advance.
     
  2. jo-ka

    jo-ka Member

    Level: Community
    Friendly bump...
     
  3. troester

    troester Well-Known Member Staff Member

    Level: Community
    Should do...
    What "doesn't work"?
     
  4. jo-ka

    jo-ka Member

    Level: Community
    It won't show the value "1" on the field if is a field element type, but it works if the element it's a textarea...
     
  5. troester

    troester Well-Known Member Staff Member

    Level: Community
    It's definitivly working with fields.
    Do you have special settings on this field element? or something like a form onLoad php?
     
  6. jo-ka

    jo-ka Member

    Level: Community
    Yes, it's working now, after a Joomla update... Strange!
    Solved.
     
Thread Status:
Not open for further replies.

Share This Page