PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

pass value to form and preload diferent option

  1. Dear support,

    I wonder if you can configure a form to make contributions of my services based on reading an input parameter is:

    if button 1 frame step 1 to form the variable preload and prices
    if the button frame 2 step 2 to form the pre varible prices and a discount

    another thing I know is it possible to put my money in bolivars format because I am in Venezuela

    thanks for your support

    Posted 7 years ago on Wednesday July 11, 2012 | Permalink
  2. David Peralty
    Administrator

    Hi danolga - I don't understand what you mean by the if statement you have written. You can have a product with different options. You can use conditional logic to change the price (discount code). You can have it set that if a certain value is passed in a query string, the prices are different. I would have to understand better what you are trying to do in order to direct you better.

    As for your currency question, have a look here:
    http://www.gravityhelp.com/documentation/page/Gform_currencies

    Posted 7 years ago on Wednesday July 11, 2012 | Permalink
  3. Thanks David

    ok for example i have a rental service for video projector the base price per hour is 10usd and after 4 hour the price have 10% discount

    how i can use logical contiion for it?

    thanks again

    Posted 7 years ago on Wednesday July 11, 2012 | Permalink
  4. David Peralty
    Administrator

    So I created a Product Field for the discount. I set its conditional logic to display this field only if the number of hours is greater than 4.

    I then made the product field for the discount be Calculation as the type.

    In the calculation section I put:

    - ({Studio Time (Price):1.2}  *  {Time::2} )  * 0.1

    This meant make a negative number of of the price of the rental times the amount of time they want it for multiplied by the discount (10% in this example).

    This discount only applies when the field is showing, and as such, if I select three hours, there is no discount.

    Posted 7 years ago on Wednesday July 11, 2012 | Permalink
  5. Thanks David

    Please could you provide me a documentation for what formula i can do to calculation field i can use advance math?

    Posted 7 years ago on Wednesday July 11, 2012 | Permalink
  6. David Peralty
    Administrator

    Advance math? Can you give me more information on what you want or need?

    Posted 7 years ago on Thursday July 12, 2012 | Permalink
  7. I need to know what function i can use forma example % / + - also ir i can use if

    Do yo have some example that i can check

    And thanks again

    Posted 7 years ago on Thursday July 12, 2012 | Permalink
  8. David Peralty
    Administrator

    If you use the calculation field, you can easily see the math operators you are allowed to use, and my example formula also shows a bit about how it works.

    Here are the options you get:

    + - / * () .
    Posted 7 years ago on Thursday July 12, 2012 | Permalink
  9. Hi David I think I'm on my way. but I have the following problem:
     
    1. configure a product field and off field when applying the condition logic in the discount field does not display the greatest amount of product choice x

    2. If I set the field of product and disable the quantity and then add a quantity field at this point if I can select my field off the condition logic of quantity field

    is not possible to apply the logical condition for the field of quantity of product without having to create another field of quantity?

    thanks again

    Posted 7 years ago on Friday July 13, 2012 | Permalink
  10. David Peralty
    Administrator

    I am sorry, you lost me. Can you give me some screen shots or an example of what you are trying to do here? I don't know what an "off field" is. You can set conditional logic against a quantity field. So if the quantity field is greater than 3 then show this other field.

    Posted 7 years ago on Friday July 13, 2012 | Permalink
  11. i create it

    1 product field: name: product1, field type: single product with quantity field enable
    1 product field: field type: name: discount, calculation whith quantity field disable and go to logical condition and i can't see produc1 price or profuct1 quantity in order to aplay the filter

    only it work if i create an quantiity field

    Posted 7 years ago on Friday July 13, 2012 | Permalink