cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to restrict the "paste" functionality on a wd input field?

Former Member
0 Kudos

The requirement I have is not allow to copy and paste a value on a given webdynpro input field. Does anyone know if this is possible? If so, how?

Thanks in advance,

Diego

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

The attribute 'readonly' will prevent pasting values into this input field.

There is no way to restrict user from copying the value it contains since this is a normal HTML field

Regards

Yuval

diego_gaudenzi
Participant
0 Kudos

Hi Yuval,

not sure about your answer. Does the attribute "readonly" will prevent or will not prevent pasting values? I am not sure about your reply since after your sentence you say "there is not way to restrict user from copying the value....." and that for me reads like "there is no way to prevent from pasting the value ......".

Please advice and thanks in advance,

Diego.

Former Member
0 Kudos

As far as i know there is no property of class method which you can use to restrict that.