• Resolved chihi108

    (@chihi108)


    Created a test form for customer trying to enquire about Homestay availability. Total number of people including adults and children should not be more than 6.

    If someone chooses 6 adults then they should not be able to add any child

    If someone chooses 3 adults then child field can allow then to add only 3 children

    How can I achieve this. I do love the form. Thanks

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @chihi108

    Thank you very much for using our plugin.

    Please insert a calculated field in the form to be used as an auxiliary (You can hide it by ticking a checkbox in its settings), and enter the following piece of code as its equations:

    (function(){
    var adult = 6 - fieldname2, children = 6 - fieldname6;
    getField(fieldname2|n).set_max(children);
    getField(fieldname6|n).set_max(adult);
    })()

    Best regards.

    Thread Starter chihi108

    (@chihi108)

    thanks a ton!

    works very well now

    Is it possible I can make the form appear in 2 steps. Step 1 as Date picker

    Stage 2 to fill in adults/children and additional field to add dogs up to max of 4, Name of client, phone and email and message box?

    Thanks again

    Plugin Author codepeople

    (@codepeople)

    Hello @chihi108

    Yes, of course. You only need to insert a “Page Break” control between the fields to display on separate stages in the multi-page form.

    Best regards.

    Thread Starter chihi108

    (@chihi108)

    Thanks I am making some progress with your help

    I have added the button at the last page. How can I configure the button to send the completed form as an email and how to put the recipients? It is asking J query but as I am not that savvy will need your help please

    Plugin Author codepeople

    (@codepeople)

    Hello @chihi108

    To insert a submit button in the form and configure the notification emails, you will need at least the plugin “Trial” distribution. You can install it directly from the form settings. Press the “Install Trial” button in the highlighted frame.

    Best regards.

    Thread Starter chihi108

    (@chihi108)

    Thanks for the guidance. I have been able to add the Install Trial successfully. I can see the entries in the backend of the form submission. Thank you.

    Will this trial expire after sometime and form will stop? Or can it be used as a free version? Not processing the payment on the form any file upload.

    Finally please can you advise, how to set up the Submit Button as to where the email notifications will got to like domain email/gmail etc and any cc email if it can be done.

    Regards

    Thread Starter chihi108

    (@chihi108)

    Sorry just seen the settings for the notification emails. So you can ignore replying to this query

    Can I use this now as a free version? Or will this stop after sometime?

    Thanks a lot again

    Plugin Author codepeople

    (@codepeople)

    Hi! We’d like to help but we can’t reply about that in this forum. We are not allowed to support any customers in these forums.

    For pro or commercial product support please contact us directly on our site. This includes any pre-sales topics as well.

    Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.

    Thank you.

    Thread Starter chihi108

    (@chihi108)

    Oh OK, I didn’t realise that, but that’s fine

    You have been very helpful

    Thank you

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to keep Calculated Total not more than 6’ is closed to new replies.