---
title: "Cookbook"
description: "Discover Alpaca best practices for refreshing forms using the `get` function and `refresh` method effortlessly. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/forms/api/cookbook"
---

# Cookbook

Here we collect a series of odds and ends related to the kinds of common things you might do with Alpaca. You might consider this a collection of best practices though certainly not the only way to do things.

## Refreshing a Form

If you render a form at some point and decide that you want to refresh it, you can use the `get` [special function](/documentation/gitana/4.0/forms/api/functions.md) to acquire the Alpaca control and the `refresh` method to do the deed.

You might try something like this:
