最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Caldera Forms Manual formula

programmeradmin3浏览0评论

I have small problem with caldera forms.i'm trying to count car quantity depenp on how many people will booking trip.Let's say 1-4 people,so its capacity of 1 car,but if 5 till 8 people so its 2 cars.how can i write this formula?i've been trying many things but nothing works.Thank you

I have small problem with caldera forms.i'm trying to count car quantity depenp on how many people will booking trip.Let's say 1-4 people,so its capacity of 1 car,but if 5 till 8 people so its 2 cars.how can i write this formula?i've been trying many things but nothing works.Thank you

Share Improve this question asked Apr 11, 2020 at 10:17 Andrew PunioAndrew Punio 1
Add a comment  | 

1 Answer 1

Reset to default 0

The presumptions are the capacity of the car is constant (ie, 4) and the total number of people booking the trip is entered in a single number field. Add a calculation field and create a manual formula based on the total number of people booking the trip. The formula would be:

ceil(%total_people%/4) - where "total_people" is the slug for the total number of people field.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论