P:signature text inside field

UI Components for JSF
Post Reply
Teutron
Posts: 29
Joined: 09 Mar 2021, 11:35

28 Jul 2023, 17:09

Hi all,

I have on question into the round. Has somebody made already a change on the p:signature component to add a info Text in it?
Like here:

Image

https://pasteboard.co/xcBjQFqxZc0E.jpg

I tried to find a JS solution by myself, but I'm not that expert and failed very hard :).
If somebody has an idea, how to do the same, I would be very happy.

BR
Teutron

jepsar
Posts: 166
Joined: 03 Sep 2014, 11:41
Location: NL / BE
Contact:

28 Jul 2023, 18:18

What do you mean with "add a info text in it"?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub: https://github.com/jepsar
Spotify: 90s Rave, Acid, Trance, House

Teutron
Posts: 29
Joined: 09 Mar 2021, 11:35

28 Jul 2023, 19:11

Like in the Picture, under the Line for example:
Name, Date
Please sign here
City, Date

jepsar
Posts: 166
Joined: 03 Sep 2014, 11:41
Location: NL / BE
Contact:

29 Jul 2023, 18:13

Can't you just use CSS to position a div on top of it?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub: https://github.com/jepsar
Spotify: 90s Rave, Acid, Trance, House

Teutron
Posts: 29
Joined: 09 Mar 2021, 11:35

31 Jul 2023, 11:10

Thanks for the hint. That works for me. Sometimes the easy way is the best solution.

BR Teutron

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests