Hey everyone!
I’m trying to use the Input Formatting plugin to have a single MM/YY input to send to Stripe for subscriptions.
Looks like this:
Is there a way to separate the MM and YY to put into Stripe.js?
Thanks!
Hey everyone!
I’m trying to use the Input Formatting plugin to have a single MM/YY input to send to Stripe for subscriptions.
Looks like this:
Is there a way to separate the MM and YY to put into Stripe.js?
Thanks!
You can truncate the InputFormatter’s value to 2 to grab the MM and truncate from end to 2 to grab YY.
Demo: https://sandboxthings.bubbleapps.io/version-test/mmyy-input
Editor: https://bubble.io/page?type=page&name=mmyy-input&id=sandboxthings&tab=tabs-1
thanks Philip! Clearly I should’ve looked harder, had no idea that truncating was an option Never saw it as my input for MM/YY was integer and not text.