1. NOTICE: If you are using Fabrik and update to Joomla 3.10, you will need to update to Fabrik 3.10. And, if you are using Fabrik, do not upgrade to Joomla 4, we do not have a supported version ready for release. More information on a release date coming soon. Also, please note that Fabrik 3.10 will not install on any Joomla sites less than 3.8.
    Dismiss Notice

Cannot add element in Console

Discussion in 'Community' started by jmoises, Oct 15, 2021.

  1. jmoises

    jmoises Member

    Level: Community
    After the creation of a custom template that i show only couple elements, i notices on my browser console a lot of text like this:

    Fabrik form::addElements: Cannot add element "my_element1" because it does not exist in HTML. utils.js:3
    Fabrik form::addElements: Cannot add element "my_element1_ro" because it does not exist in HTML. utils.js:3

    should i be worried? how can i avoid this ?

    thanks for any advise
     
  2. lousyfool

    lousyfool Active Member

    Level: Community
  3. jmoises

    jmoises Member

    Level: Community
  4. jmoises

    jmoises Member

    Level: Community
    i follow @cheesegrits recomendation and i still get the message,

    i found another post

    https://fabrikar.com/forums/index.php?threads/fabrik-form-addelements-cannot-add-element.40572/

    and @cheesegrits say this

    But i really need to hide this, it show a lot of elements and i concert about the security, user are found out about all the elements names / fields of database.

    thanks for any other reply
     
  5. startpoint

    startpoint Active Member

    Level: Community
    You can comment lines for this direcly in /media/com_fabrik/js/form.js.
    Search for string 'fconsole('Fabrik form::addElements: Cannot add element'.
    Remember: Your Fabrik global settings need set Allow Fabrik debug -> yes.
    This force loading uncompressed form.js file from folder js instead from folder dist.
    Need to do that always after Fabrik update.
     
    jmoises and juuser like this.
  6. juuser

    juuser Well-Known Member

    Level: Community
    This shouldn't decrease security as the same table-element names are visible in page source anyway.
     
    jmoises likes this.
  7. jmoises

    jmoises Member

    Level: Community
    ok great thanks for this i am trying!
     
  8. jmoises

    jmoises Member

    Level: Community
    Thanks for the aswer, after i post the reply minutes laters i realice that! you right thanks again!
     

Share This Page