## Logic

# Update element attributes, pass values between elements, show and hide elements.

## Pass Attributes

Pass attributes from elements to elements within same page or across multiple tabs and windows.

    <a actions="pass" pass-document_id="test" pass_to="A unique id"></a>

### Pass Values

Pass a value from an input to any element

### Conditional Logic

Add attribute contenteditbale to any html and element and use it as an input. CoCreateJS also converts render elements to collaborative rich text editors or a website builder.

    <h1 type="text" collection="contacts" document_id="" name="name"></h1>

## Logic Attributes

- #### pass_id string required

  A uinque id to receive pass attribute.

- #### pass_to string required

  id where the attributes will be passed to.

- #### pass-* string required

  Pass any attribute defined

- #### pass-refresh string optional

  Overwrites attribute values

Previous Topic

Fetch a list and render the data using a template

Next Topic

User Management