You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a custom filter to add the currency prefix to a FloatField to make it more user friendly. This also adds the currency prefix to the value in my edit form.
@ThatMorneGuy, hello! You can create a custom field that inherits from FloatField and override the process_formdata method with your clear prefix logic.
I use a custom filter to add the currency prefix to a FloatField to make it more user friendly. This also adds the currency prefix to the value in my edit form.
Is it possible (and how would one implement) to use a filter to remove the currency prefix from the field data on submit before form validation?
I have gone through documentation and searched forums but haven't found a solution.
The text was updated successfully, but these errors were encountered: