on 09-02-2014 1:16 PM
Hi,
I am new to CRM in want to create a custom input field, but it should come with red border color and red background as shown in the picture.Please tell me the logic and in which method to write it
In picture the particular field is highlighted to red only when we save a person without entering the mandatory details.
Thanks in advance
Rahul
Hi Rahul,
This we can achieve by using iterator class. the iterator class is trigger each and every label and field that has to be displayed in the web UI.
create one zclass in se24 add an interface IF_CHTMLB_FORM_ITERATOR in to that class.
in that class there is a method RENDER_CELL_START implement that method.
go through this link you can achieve your requirement.
Thanks & Regards,
Srinvias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
You can set the field as mandatory in configuration, we have an option to set as Mandatory with check box. First you create the field and add it in view configuration and there you can set it as mandatory.
Another way you can set the field as mandatory in get_p method of the attribute as well.
Best Regards,
Dharmakasi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think only mandatory fields are marked like this.
Best regards,
Thomas Wagner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.