Introduction
- Next reference is set in the Setup => Forms Setup page
- By default, all Reference Fields are editable during record creation
- This mod provides for suppression of such Reference fields while creating new records in FA forms
- Forum Post
Screenshots
- The final desired result:
![](https://frontaccounting.com/fawiki/uploads/Devel/No_Edit_Reference_001.png)
- Add extra argument for readonly attribute in functions in include/ui/ui_input.inc:
![](https://frontaccounting.com/fawiki/uploads/Devel/No_Edit_Reference_003.png)
![](https://frontaccounting.com/fawiki/uploads/Devel/No_Edit_Reference_004.png)
- Single form mod:
![](https://frontaccounting.com/fawiki/uploads/Devel/No_Edit_Reference_002.png)
- List of single files using the function ref_row:
![](https://frontaccounting.com/fawiki/uploads/Devel/ref_row_files.png)