cancel
Showing results for 
Search instead for 
Did you mean: 

Placeholder in FPM

0 Kudos

Hi Colleagues and Experts,

Could you please help me,

I need to implement something like HTML placeholder (an input field with some grey text inside, which disapper if you clicked in it)

Is there any function in this? I'm using SAP Netweaver 7.4

Thank you and best regards,

Steve

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Many Thanks to Vivek.

That was a good hint to search further the functionality inside FPM.

The feature is available in the new FPM form only (FPM_FORM_UIBB_GL2)

Define these additional field descriptions in method if_fpm_guibb_form~get_definition:

- input_prompt

- input_prompt_ref

Best regards,

Steve

Answers (2)

Answers (2)

vivek_priyadarshi2
Participant
0 Kudos


Hi Steve,

Please check the image below. Are you trying to achieve something similar. The highlighted text 'Enter Wo# and press enter' disappears when you hit enter in the input box.

This can be achieved by setting inputfield UI element  property 'inputprompt' as shown below.

Let me know if this works for you?

Regards,

Vivek

harsha_jalakam
Active Contributor
0 Kudos

Hi Steve,

I doubt if there is any such functionality in WebDynpro. However tool tip can be used as an alternative in both freestyle and GUIBB's to show help functionality to users related to that UI element.

Regards,

Harsha