Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Webdynpro input field required

Former Member
0 Likes
2,993

Hi Experts,

I want to make one of the input field obligatory in my webdynpro component, to achieve this I have set 'STATE' property as 'Required' but that red astrick is not appearing on input field, please let me know if I am missing something.

Thanks,

Sangeeta

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,381

I hope you have done this

Create a Input Field

Assign it to the context field DATA Binding.

Create a Label

Assign the "Label for" property to the Input Field

Make the STATE of the Input field as Required.

BR

4 REPLIES 4
Read only

Former Member
0 Likes
1,382

I hope you have done this

Create a Input Field

Assign it to the context field DATA Binding.

Create a Label

Assign the "Label for" property to the Input Field

Make the STATE of the Input field as Required.

BR

Read only

0 Likes
1,381

Thanks BR, it solved my problem!!

Read only

Former Member
0 Likes
1,381

Hi Sangeeta,

Below link might be usefull. Tutorial to make field mandatory with error message in webdynpro

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207e4467-227e-2e10-6fbb-e3a562038...

Thanks

Vivek

Read only

0 Likes
1,381

Hello,

Please is it possible to show the "*" of required without assigning the text field to a Label? I'm using a formatted textview not a label for the textfield input.

Thanks