Make sure the Field Code input field has the Names and Codes you put in for the cdl var on line 168 in views.py
Change the File Type field
Check network console to check if AJAX call is working to get the file type. The response should be the CDLs from your view.py file
Change the File Type a second time. The codes should repopulate and the first code in the list should appear in the drop down. The help text should clear.
Try clicking the add button and filling out the block one at a time.
Try clicking the add button several times at once and then changing the field drop downs. This is to make sure the corresponding helper text populates.
Try removing and adding exceptions.
Try filling out exception information and changing the file type at the top. This should clear the help text and reset the drop down options.
These are the corresponding codes for each file type:
dc/Dental Claims
mc/Medical Claims
me/Member Eligibility
pc/Pharmacy Claims
pv/Provider
UI
Added buttons
Helper text will dynamically update on Threshold Percentage based on Field Code for each exception block.
Overview
Add/Remove Threshold exceptions with dynamic select and helper txt elements
Related
Changes
Testing
These are the corresponding codes for each file type:
UI
Added buttons
Helper text will dynamically update on Threshold Percentage based on Field Code for each exception block.
When one block is showing:
When several blocks are showing: