Changes made 2023-07-28
in factory.web/
added self.FieldUuid = self.get_uuid() at __init__ stage
1. is later used when creating the webformelement to generate the fieldelement name
(specifically used later to generate the fieldelement name - which is self.Name+self.FieldUuid
The reason for the Uuid being that sometimes you can have 2 forms on the same page with the same
field names)
2. This is later used in the label setup (def RenderLabelField)
html += "<label id='"+self.Name+"label' for='" + str(self.Name) + self.FieldUuid + "' >"
3. Note that self.FieldUuid is also available to the factory objects and should be used by
def RenderElement in those objects to set the field id
... id='"+str(self.Name)+self.FieldUuid+"' ...
in factory.field/extend.editors/
Updated def RenderElement for the field to use self.FieldUuid
Html += "<div class='form-control codeeditor' fieldname='" + \
self.Name+"' id='"+str(self.Name)+self.FieldUuid+"' width=100% > "
added axion_disablebtns and axion_enablebtns methods to be used by the various form functions
refactored the following methods to then use these:
axion_formprocess
axion_formrpc
axion_formsubmit