Ordering field in creation form in Forest Admin - forestadmin

Is there any way ordering fields in creation form in Forest Admin ?
And hide useless fields ?
I don't find this information in documentation 🤔
SOLUTION :
I didn't see the ordering button 😅
Forest Admin is a very good product BTW !! Congratulations 😁

The layout editor in Forest Admin is super powerful to hide/re-order fields and columns.
You can find all information in the doc right here: https://docs.forestadmin.com/documentation/reference-guide/views/using-the-layout-editor-mode/customize-your-creation-and-edition-forms

Related

Is there a way to achieve Flexible Field Templates similar to ACF Flexible Content?

My apologies if this has been asked before. I'm looking for a way to group fields in a flexible way. Much like a repeatable field, but each new row would have the option of being a different pre-defined group of fields.
This is critical with any site I build as it allows the content creators flexibility to re-use components on different "pages" in different orders.
I've been pouring over all the field types and the pagemanager add on trying to figure out a way that I could come up with this type of functionality.
Perhaps I could create a "template" field in the repeatable field that hides/shows certain fields in the group, but the number of fields would stack up and that would have to have javascript to hide/show fields and handle validation. Seems a bit hacky.
Am I missing a solution? Thank you for your time.

Creating custom daily evalutations in Moodle

I've been looking for a solution for kindergarten teachers to submit daily student evaluations (different criteria) in Moodle. So far, the closest solution that I've found is the Attendance plugin.
Does anyone know of a plugin that allows the teacher to submit a daily evaluation?
Another option that I'm looking into is Moodle Competency, which can actually fit the need, however, it looks like competency is not cumulative ... if I can find a way to make it cumulative that will be awesome.
For example, one of the competencies we have is "able to read sentences" and the scale is "1 - non-developed", "2- being developed" and "3- fully developed". At any point, the teacher or school admin would like to know how competent the student is. In our case, if this is an indicator that is being responded daily, we should be able to take the average and be able to evaluate the student.
The competency framework (to my understanding) doesn't calculate the average, rather it relies on being rated by the teacher.
Any thoughts where I should continue to look?
Attendance could be a great solution to your needs.
It could be hidden to the ones acting like students (I'm not shure if the kindergarden kids be interested in see this, maybe their parents)
Attendance have a full compatibility with course grading.
It could be configured to have diferent percentaje of final grading, so far, you can use one attendance activity for have a registry for their personal clairliness, another to record assessment in math, one more to social assessment and so on.
Finally all users with minimun acces as teacher (or another role you defined: example: school administration, scholar control) Could have facilities to export every grading to spreadsheet.
I've several years using it in a similar way you are asking to.
I hope this helps you.

Advanced conditional logic - Gravity Forms Wordpress plugin

I had a question as to the best way to hook some specific functionality into my Gravity Form.
I have a situation where I want to show a different set of dropdown options based on several different possible ranges of postcodes entered into a field.
One way I've tried to achieve this was with Conditional Statements, but the only problem I'm encountering there is that there are quite broad ranges for the postcodes that aren't super easy to work with, plus a few exceptions.
e.g.
New South Wales post codes can be:
1000, 1999,
2000, 2599,
2619, 2898,
2921, 2999
I could code this as a PHP function to validate and return a state, is there a way to hook that into the functions.php file? Or is there a better way to handle this?
Thanks!
Alright, I managed to come up with a solution for this by using a hidden select field as my conditional and then using on page javascript to check for entries to the postcode field and update the hidden conditional field manually.

Qooxdoo: how to make a form validation on a complex form?

I have this form:
https://github.com/totty90/production01_server/blob/master/node_modules/production/client/production/source/class/production/views/insertWorkAsManager/Index.js
https://github.com/totty90/production01_server/tree/master/node_modules/production/client/production/source/class/production/views/insertWorkAsManager
It's not exactly a simple form not even a form yet. It's just a bunch of widgets, but I would like to take advance of the validations on the various fields. How do you suggest to do? As I cant directly apply the Form example in my "form".
Thanks,
qooxdoo supports validation for items in the from and the from in total. This offers the opportunity to validate everything you want. Either you check on a single field basis or on a combination. Check out the following demo which showcases most of the features:
http://demo.qooxdoo.org/2.0.1/demobrowser/index.html#ui~FormValidator.html

drupal 6 - can i use one exposed views filter to search/filter several similar cck fields?

i have a decent understanding of configuring drupal and using modules for basic stuff, but just getting into module development and overriding functions and stuff due to my very basic understanding of php and mysql.
i have a custom content type ('books') and a 3 cck field for genres (primary, secondary, tertiary). i'd like a user to be able to filter a view of all books with one exposed multi-selectable 'genre' filter. that's where i'm stuck-- i understand how to have three exposed filters for the 3 genre 'weights' (primary, secondary, tertiary)--i want one filter that would allow users to select any or all of those weights.
is a custom search form my only option? was there a better way to set things up? would i have been better off using one cck field for 'genres' with multiple entries? i ruled this out because i thought it would be harder to determine the genre 'weight' (primary, secondary, tertiary).
thanks a million.
Think about what the meaning of genres to a book is. Taxonomy is just what you use for this kind of thing. There are several pros using the taxonomy rather than using CCK fields.
Taxonomy is meta data, CCK fields are not. This mean that the way the html is generated for taxonomy terms, it will help SE to understand that these genres are important and it will give you a free SEO
You can setup how genres should be selected in far more detail than a CCK field. Again since taxonomy is made for exactly this kind of thing. You can setup how users are presentated with the genre selection in various ways. You can predefine genres or let users enter their own as they like. You can make child-parent relation ships and more
It's easier and more lightweight to use taxonomy than CCK fields.
If there only is 1 or 2 genre inputted you wont have to have empty CCK fields.
probably more that I can't think of right now
Using taxonomy you can pretty easily make a search with views, where you make it possible for users to select genres using a multiple select list. You can decide if you require all terms or only one of them. Simply put you should really use taxonomy, it should solve all of your problems, if not, you should still use it and try to solve the problems you could get using taxonomy instead of CCK fields.
Jergason has a good point saying that taxonomy would probably be a good fit for your fields. However this wouldn't solve your problem of weighted genres.
A possible (though hacky) solution would be to have a fourth field which combined the values of the other three which is only set when a node is saved. This field could then be used for searching.
The non hacky solution is to write your own views filter but this is very advanced.
There may be a way to do this with views out of the box it is flexible, hopefully someone else knows of an easier non hacky solution.