Create a formula

Hello,

I would like to know if it's possible to create a drop-down menu with hours (8 /10 /12), and linked the choice to another filed, where will add 2 hours to what I have chosen in the drop-down menu

Thanks

Hey Sebastien,

Is this what you're looking for?

{formmenu: default=8; 10; 12; name=hours}

Total hours: {=hours+2}

If not, please let me know what other field you want to add :slight_smile:

2 Likes

Yes, it's that.

Thanks :grinning:

1 Like

And do you know what condition I must you use in order to put a text depending on the time of the day ?

Thanks

Hey Sebastien,

You can use the {time} command and the {if} command to do this. Here's an example:

Good {if: {time: H} < 12}morning{elseif: {time: H} < 17}afternoon{else}evening{endif}

Thanks for you reply

Have a good day

1 Like