Separating a single input and save in different fields?

An input like ‘large +2.50’, meaning a size Large for extra $2.50.

The whole input is text, but is there anyway that I can extract 2.50 as a number and use it for calculating the price when Large is taken?

Hi there, @yj.johnrhee… you should be able to use the :split by operator to do what you have described. So, something like input's value:split by (+):last item:converted to number.

Hope this helps.


1 Like

Awesome. Thanks a lot.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.