Recent content by PvN94

  1. P

    Dynamic list filters

    It's only the list filter. For the join's where filter, in the form, I would use placeholders in the where statements and the AJAX update option, which works great. The question is if something similar can be done on the list filter.
  2. P

    Dynamic list filters

    Yeah that sounds about right. The practical end result would be a list filter which normally shows only active users, but with an option to include non-active users. Though with the way you're describing it sounds impossible... ;)
  3. P

    Dynamic list filters

    Sorry if the explanation wasn't clear, but setting the element as a list filter is not the problem. I'm looking for a way to dynamically update the contents in the filter, based on what is selected in another filter. Kind of like a cascading dropdown, but in list filters.
  4. P

    Dynamic list filters

    Is there a way to create dynamic filters for lists, so that when changing the value of one filter other filters update to only show the then applicable values. Example: There is a list of members, who can be active or inactive, and these are used in databasejoins for other lists. Normally...
  5. P

    Javascript not working after mailing form PDF

    For what it's worth, I've been digging into the files a bit and in the email.php file it's $controller->display(); (line 506), this links to the FabrikControllerDetails in details.php where the problem is in $view->display(); (line 106). I would assume this is calling view.pdf.php (in...
  6. P

    Javascript not working after mailing form PDF

    I applied it, but it's still the same. Is there not some way you can clear everything and load the appropriate screen from scratch?
  7. P

    Javascript not working after mailing form PDF

    I've looked at this some more and it seems that the form isn't loaded in correctly. When 'this.form' is used it returns null and the js fails. The first error is on line 1640 in the code that seems to fade in/out repeatgroup buttons, but when commenting that bit out it just fails in other places...
  8. P

    DBjoin checkbox with where-clause

    Yup, works great. Thanks!
  9. P

    Javascript not working after mailing form PDF

    I've put the link to the form in 'My site'. The form takes text displayed in the field and puts it in the calc, via AJAX update. When the form is saved it is emailed, with pdf, and you're redirected back to the form. This is when the error occurs, and when typing text in the field you can see it...
  10. P

    DBjoin checkbox with where-clause

    I have a databasejoin, rendered as checkbox, 'my_table___join' joining to another table 'my_other_table'. I set the value as 'my_other_table___id' and label as 'my_other_table___name' and then in the where clause I make sure to select only appropriate rows using 'WHERE {thistable}.link_id =...
  11. P

    Javascript not working after mailing form PDF

    If I have a form with email plugin with the option 'Attach as PDF' set to yes, and I save that form (and the email is sent), on the page loaded after that javascript does not work. In the console I see an error 'Uncaught TypeError: cannot read property 'addEvent' of null' in form.js:2. After...
  12. P

    Cascading dropdown changing source data

    Yeah, the brands and models is just what I was using for testing the possibilities. The eventual idea would be to have persons belonging to groups, and using the cascading dropdowns to create dynamic list filters, so when I select group1 as a filter, the persons filter is restricted to those in...
  13. P

    Cascading dropdown changing source data

    Say I have a cascading dropdown, first I have a dropdown "brand", with brand 1, brand 2 etc. Then a cascading dropdown "model", with model 1, model 2, etc, each model record has a field "brand" to use in the cascading option. When I change model 1 to be from brand 2 instead of brand 1, and I...
  14. P

    Weird repeat group behavior with databasejoin

    Have you had some time to look at this already?
  15. P

    Filter values for previous month

    Yeah I wasn't expecting that to actually work, but when I typed out how I would do it in SQL I thought why not try if it works. The point is that I want to achieve the effect like in your prefilter, but by filling in the filter fields, so that the user can change it to other months. I think I...
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top