I am trying to set up a form which has in effect 3 columns, a) label 2) Credit values (text input element) 3) Debit Values (text input element).
I can create this using columns and two input elements with one having the label set to a minimum width, but would prefer to use a custom component with just the three elements to place on a form layout just like a single text input field.
I have read the section on customising controls but was hoping that there was an easier way to effectively adding a label plus two input elements together.
Any light that you can shine on the subject would be welcome.
if you use this scenario widely, you should create custom control. but you will have to bind an object with credit and debit properties to this control, not just credit and debit fields. i.e if you have object {id:12, code:‘0011’, credit:15.22, debit:16.55}, you will have to change it to smt like {id:12, code:‘0011’, account: {credit:15.22, debit:16.55} }
Thanks for the input.
I have decided to use the data layout option for now, but when more time is available I will revisit the idea of a fully customised control.