cancel
Showing results for 
Search instead for 
Did you mean: 

Problem displaying label

david_fryda2
Participant
0 Kudos

Hi everyone,

I created a Label and an InputField.

The Label is displayed good (not bright).

But when I specify in the LabelFor property the InputField, the text of the label gets bright.

The reason why I want to specify the LabelFor property is that I want to use the Required property of the InputField thus a star is displayed near it.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

saraswathi_d
Participant
0 Kudos

Hi,

How you specified labelFor property

follow the below procedure.

1. Insert UI element Label-->give the name of the lable in text property

2. Create one value attribute in context

2. Insert Input field >go to proprties select value> bind it to that context element which you created in the above step.

3. Now go to label properties labelFor--> select the inputfield from the dropdown.

I followed the same procedure. I didnt find any difference. That label is displaying normal color.

Regards,

Saraswathi.

david_fryda2
Participant
0 Kudos

Hi Saraswathi,

It works....

I understand where was the problem.

I defined the inputfield as not enable because I want the user to select values from a window that I display and do not want him to write in the inputfield whatever he wants.

So when the inputfield is not enable, the label is displayed in bright.

Thanks for the help.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

See this Thread

Kind Regards

Mukesh

david_fryda2
Participant
0 Kudos

Hi,

It doesn't sove the problem..but thanks.

Regards.

Former Member
0 Kudos

Hi,

Can you explain your problem?

Regards

Saravanan K

david_fryda2
Participant
0 Kudos

Hi,

The label text gets bright when I specify a LabelFor property.

Please read the first post.

Thanks.

Regards.