Page 1 of 1

How to Add Metadata Number With Decimals

Posted: Tue May 31, 2022 7:27 pm
by GSBSwitch1
I am looking to add a metadata variable upon a Switch Submit Point that has decimals. Currently when the option is selected as a number, it only allows for whole numbers. I am looking to use this value as a variable set within a Pitstop Action which would variable change the width and height of an element being adding to a PDF document.

If the metadata element is set to Variable Text, then I can't pull the variable into the numeric field within PitStop, and if I change the variable element to a number, then I can't add decimal places.

--Evan

Re: How to Add Metadata Number With Decimals

Posted: Wed Jun 01, 2022 9:49 am
by magnussandstrom
Hi Evan, I recently made a flow where the user can choose spine width in the Submit Point (Data format: ^[1-9]\d*(\.\d+)?$). I then use this value in my Pitstop Variable Set as Text with variables / Length / Millimetres and choose the variable from the submit point. This is working with decimals.