• Fabrik4.5.1 for Joomla5.2.4

    Fabrik4.5.1 is out. This update is needed for J!5.2.4

    See Announcements

Search results

  1. M

    Show/hide GROUP effect in a form

    Thank you for the reply. I'm a new user of Fabrik and I don't know the framework well. A javascript's sample would have been helpful. I think the function of the forum is to be of help to the entire community. I want to publish the inline javascript that I prepared. Maybe it can be useful to...
  2. M

    Show/hide GROUP effect in a form

    It'is possible with inline javascript hide/show a group of elements. Witch is the correct inline JS to use ? Thank
  3. M

    Show/hide GROUP effect in a form

    Ok thank you for suggestion but I can't use CSS. With this code I can hide/show an elements: var form = Fabrik.getBlock('form_15'); var val1 = form.formElements.get('fca_form_fill___FORM_show_elements').getValue(); if (val1 == 'pippo' ) {...
  4. M

    Show/hide GROUP effect in a form

    Hi everyone, in a FORM I can show/hide GROUPS of fields/elements with inline javascript on a field/element. The problem is that as soon as you enter the FORM these are all visible at first (then they disappear but at the beginning they are visible). It is not nice for the user to see this...
  5. M

    Show/hide elements in a form based on "config-field"

    Now I need to use instead the FULL ELEMENT NAME the element's ID generated fro Fabrik. I'm trying the following code but don't work correctly. Where am I going wrong ? var val1 = form.formElements.get('input_786').getValue(); if (val1 == 'pippo' ) { form.formElements.get('input_162').hide(); }...
  6. M

    Show/hide elements in a form based on "config-field"

    var form = Fabrik.getBlock('form_XYZ'); var val1 = form.formElements.get('LISTA1___CAMPO1').getValue(); if (val1 == 'pippo' ) { form.formElements.get('LISTA1___CAMPO2').hide(); } It work !!!!
  7. M

    Show/hide elements in a form based on "config-field"

    Sorry. Which is the correct javascript function to evaluate: or Fabric element ID or Fabric full name. Thank
  8. M

    Show/hide elements in a form based on "config-field"

    Hi, I'am usignolo this code but don't work: if (this.value === 'pippo') { document.getElementById(175).style.display = 'none'; } else { document.getElementById(175).style.display = 'block'; } Any suggestion ? Tank
  9. M

    Show/hide elements in a form based on "config-field"

    Hi everyone, in a form I'm trying to hide elements based on the content of a control field. In practice, if the element's ID is present in the control field this element must be hidden. I need to achieve this with javascript inline function (on one element's form onload/onchage). Do you have...
  10. M

    Autosave FORM (onBeforeProcess)

    I try this javascript code and it work, also without APPLY and/or SAVE button on FORM. I use this javascript on "CHANGE" element "INLINE JS" var form = document.querySelector('.fabrikForm'); if (form) { form.submit(); } Now I just need to bypass all form's validation. Do you have any...
  11. M

    Mistake with elements "parent-child"

    Why I find some ELEMENTS with parent/chid icon active but without related elements (old cxl elements). It's possibile delete this icon ? Thank
  12. M

    Autosave FORM (onBeforeProcess)

    In general, when I create a new form (from the add form button) is it possible for the record to be saved immediately?
  13. M

    Autosave FORM (onBeforeProcess)

    Hi friends, on a FORM I need to save automatically the record before SEND it by submission. It's necessary to save a primary key for a relationship (otherwise in the email send from the form I can't show the related fields). I try with this PHP code (insert on FORM > PLUG-INS > start of form...
  14. M

    Mistake with elements "parent-child"

    I try with PHP my admin.... Thank you.
  15. M

    Mistake with elements "parent-child"

    Ok but to simplify many settings is it not possible to recreate the link between parent and child ?
  16. M

    Mistake with elements "parent-child"

    Hi everyone, I made a mistake with the elements in a primary table. I unlinked some parent elements from some child elements (I don't see the join icon anymore). Is it possible to rebuild the link without deleting and redoing the relationship? Thank you.
  17. M

    Missing DISPLAY (or Readonly) elements on form's email

    PLUGIN EMAIL SETTING: PHP/HTML Template = debug_with_label.php Article template = NOT SELECTED Run Plugins = NO Only one condition (to don't send email when click SAVE button but only when click SEND button) if(array_key_exists('apply', $formModel->formData)){ return true; }
  18. M

    Missing DISPLAY (or Readonly) elements on form's email

    Hi everyone. I don't understanding why, when I send a form by email (FORM plug-ins EMAIL), the elements set Readonly do not appear on the form's email. Also the DISPLAY elements do not appear on the form's email. How can I do ? Thank you very much for your help.
  19. M

    Why automatically NEW RECORD from missing relationship ?

    Ok. It'work. But I don't understanding why, when I send a form by email (FORM plug-ins EMAIL), the elements set Readonly do not appear on the form's email. Also the DISPLAY elements do not appear on the form's email. How can I do ? Thank you very much for your help.
  20. M

    Why automatically NEW RECORD from missing relationship ?

    Hi everyone ! I have 2 lists: EVENTS and PEOPLE joined with a relationship LEFT JOIN no repeatable from EVENTS to PEOPLE (in EVENTS with element RIF ID people - in PEOPLE with element ID people). On the EVENT's form I must indicate one PEOPLE ( element RIF ID people ) with DatabaseJoin...
Back
Top