cancel
Showing results for 
Search instead for 
Did you mean: 

How to color the mandatory fields in a Adobe WebDynpro Java form

Former Member
0 Kudos

Hi Experts,

How to color the mandatory fields in a Adobe WebDynpro Java form?

This will avoid any confusion to he end user while filling the form as he would try to type something in field which is set as Read nlybut stil the cursor appears there.

Regards,

Shobhit

Accepted Solutions (0)

Answers (2)

Answers (2)

OttoGold
Active Contributor
0 Kudos

How comes you have 465 posts and 2 points? That probably means you don´t care about the others and you don´t help people, right? These 2 points look like more like an accident... Maybe you can fix the "balance" before asking? Thank you, Otto

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

hi,

You can do it in the same way as you did it for mandatory using fill colour.

see post no. 6 by guest.

regards,

Sakshi

amolgupta
Active Contributor
0 Kudos

hi,

when you run the application...

below the adobe toolbar...

it shows another message bar....

which shows one option... "Highlight Required fields"

just check it....

all you mandatory fields will turn red.

regards,

-ag

Former Member
0 Kudos

This is cool. But can I set it to highlight mode by default!!??

Shobhit

amolgupta
Active Contributor
0 Kudos

hi,

i have not come across it so far

regards,

-ag

Former Member
0 Kudos

Dont worry Amol. You are already a Pro in Adobe it seems!!!

Thanks anyways,

Shobhit

Former Member
0 Kudos

Hi Shobhit,

you can write something like xfa.host.setFocus(<text field name>). to set the focus or

<text field name>.fillColor = "120,120,123";

<text field name>.resolveNode"ui.#textEdit").border.edge.fill.color.value="120,150.200";

to fill the color.

Refer to adobe dev centger scripting samples to learn more on these.

Hope these helps.

Thanks and Regards,

- anto.

Former Member
0 Kudos

Hi

You can do this in XML source. For example:

<field id=".........

.............

............

<validate nullTest="error"/>

</field>