Format Input with Custom Suffix

Hi there,

I need to create an Input with the suffix “sats” like in this screenshot:
Bildschirmfoto 2022-03-25 um 11.29.49

I tried to use a text element near an input - but the problem here is that the input cannot scale in width dynamically (width to content).

Another idea I had was to use an “invisible” input and then display the output as text. Problem here is that there is no “position cursor” with this method.

I also tried to use the “input formatter” but without success.

Has anybody an idea on how to achieve this neatly?

Thanks in advance. :raised_hands:
Maze

You can use a plugin to mask your input field. Search for “input mask”, you should find.

Thanks for your tip. However this is very similar to the input formatter and I am not able to make this work :laughing:

This works for you?

Thanks for your effort :raised_hands:

Comes pretty close - even better would be if the sats is there permanently…Is that possible too?

Good news:

But it is not going to work with Bubble’s new responsive engine. :roll_eyes:

Plugin page:

Working example:
https://alegria-plugins-demo-app.bubbleapps.io/version-test/input-checker-suffix?debug_mode=true

I was able to get it work with “Toolkit’s Input Formatter” using:
Bildschirmfoto 2022-03-28 um 11.17.36

However I needed to leave away the suffix as it is not working very well…
Thanks for your help.