Dans un erp axelor je veux ajouter une fonction a l'utilisateur d'ajouter un avis et un commentaire au service d'un livreur précis
maintenant pour ajouter cet zone d’avis comme google map ou bien comme playStore je doit ajouter des étoiles comme tous les autre site web
dans la partie front-end j’ai ajouter la partie html dans la variable CDATA et elle ç’affiche avec aucun problème mais quand je veux envoyer les valeur au back-end il s’envoi comme null
Est c pour cela je veux vos aides pour résoudre ce problème là
dans la partie front-end j'ai ajouter la partie html dans la variable CDATA et elle ç'affiche avec aucun problème mais quand je veux envoyer les valeur au back-end il s'envoi comme null
Est c pour cela je veux vos aides pour résoudre ce problème là
To make this easy to manage, you can also declare that field as selection integer (or decimal as per your requirement) and use existing selection gold.rating.icon.select from Axelor ERP, which provide the facility to enter the value like this
And for display purpose you can continue with CDATA like you have done.
Otherwise if you want to continue with CADATA only to manage the field value only you can continue with JS script which will call Axelor REST API to update the value.
Hope this will help !
And FYI, We also have the forum on which you can communicate in French. If you are not comfortable with English, you can also communicate on French forum.
Basically we already have one existing selection named gold.rating.icon.select in our system which you can specify when create the field for rating in domain OR you can directly specify in view too. And in form view use ImageSelect widget. So you will get the display like shown above.