Is there a way to freeze the top (or a section) of a form?

  • PontiacTomahawks
    Asked on May 20, 2015 at 5:10 PM

    I'm creating a shopping order form where users are allowed to select various products.  I have a calculation widget within the form to show the users the total payment due.  

    I would like this calculation field to always appear at the top of the form - but the user can scroll through the items below (similar functionality to any shopping site such as Amazon, Walmart, etc where you can see the number of products within the "Shopping Cart" and the Total amount of $ that is due.

    What is the best and simplest way to accomplish this?

  • raul
    Replied on May 20, 2015 at 6:46 PM

    Yes, you can use custom CSS code to accomplish this.
    This would be the code for your form:

    #id_105 {
       position: fixed;
       top: 10px;
       right: 10px;
    }

    Which would provide the following result:

    Is there a way to freeze the top (or a section) of a form? Image 1 Screenshot 20

    You can set the top and right values to the ones of your preference.