– IBase Description
– External ID
Created default configuration with above three fields.
Finding the UI field’s generated ID:
UI field’s ID will get generated as “component_id” “_” “Context_ndoe” “_” “Structure” “.” “fieldname”,so I built the UI element ID with controller component ID , context node and structure field. Example field ID will be like : C1_W1_V2_ibase_struct.descr.
Approach – 1:
In this approach , I first attached the JavaScipt functions to the fields in a function and called this function explicitly.
Approach – 2 :
In this approach , I created a custom class ,attached the interface IF_CHTMLB_FORM_ITERATOR,
“onclientblur” of the input field.
In “.htm” code , I created the iterator object and assigned to the config.
Execution Process(Validations) :
- Case – 1 : When IBase Description is less than 10 characters
- Case – 2 : When External ID contains non-numeric values
- Screen fields with correct data(no errors in the input)