Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0585611
update custom.css
Jan 22, 2026
f528b29
update premium form pages
Jan 23, 2026
7efcd55
update slug
Jan 23, 2026
5ee9d97
update custom forms
Jan 23, 2026
d027aca
twig rewriting
Jan 26, 2026
6c222f4
Merge branch 'master'
Jan 27, 2026
e332eaf
change extension
Jan 27, 2026
05fc79e
update redirect in config
Jan 27, 2026
513aad9
not final option, but styles for tabs are ready
Jan 28, 2026
369a3a7
pdate custom.css
Jan 28, 2026
685d927
remove tabs
Feb 9, 2026
9b66466
add description for pages and fix some recommendations
Feb 10, 2026
10d57a2
fix links
Feb 11, 2026
977f055
fix links
Feb 11, 2026
8c6518c
fix gravity links
Feb 11, 2026
7859479
change twig redirect
Feb 11, 2026
9357e4b
change link
Feb 12, 2026
b77263a
update fetch xml page
Feb 14, 2026
84ea357
rewrite user binding
Feb 14, 2026
0aafce5
update table binding
Feb 16, 2026
6be1b5c
update view page
Feb 16, 2026
066863e
add gravity redirect page
Feb 17, 2026
f3891ca
update premium description
Feb 19, 2026
9938417
add premium notification
Feb 19, 2026
4a10982
update pages order
Feb 20, 2026
334b3fc
Merge branch 'master' of https://github.com/AlexaCRM/alexacrm.github.…
georged Feb 26, 2026
b9e53d9
fix links
Feb 26, 2026
1a2fcdd
fix warning
Feb 26, 2026
8f7e53c
Merge remote-tracking branch 'origin/pagesRefactoring' into pagesRefa…
georged Feb 26, 2026
64292f5
update documentation according to feedback
Feb 26, 2026
fa687fd
Merge branch 'pagesRefactoring' of https://github.com/AlexaCRM/alexac…
Feb 26, 2026
83f533e
Combined objects filters functions
georged Mar 9, 2026
405ca26
Added trademarks
georged Mar 9, 2026
04c87c8
Minor reorganisation
georged Mar 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
213 changes: 0 additions & 213 deletions datapress/Forms/custom-forms.md

This file was deleted.

8 changes: 8 additions & 0 deletions datapress/Forms/custom-forms/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Custom Forms",
"position": 1,
"link": {
"type": "doc",
"id": "Forms/custom-forms/index"
}
}
158 changes: 158 additions & 0 deletions datapress/Forms/custom-forms/custom-forms-example.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
---
title: Custom Forms Examples
sidebar_position: 3
slug: /forms/custom-forms-example
tags:
- Form
- DataPress
keywords: [DataPress custom form]
description: How to create custom forms
---

<div
role="note"
aria-label="Product note"
style={{
borderLeft: '4px solid #2f81f7',
background: '#f0f7ff',
padding: '12px 16px',
borderRadius: '6px',
margin: '1em 0',
color: '#0b2e59',
}}
>
<div style={{ color: '#0b63d1', fontWeight: 600, marginBottom: '6px' }}>Note</div>
<p style={{ margin: '0 0 6px 0' }}>
The plugin previously known as <em>Dataverse Integration</em> has been renamed to <strong>DataPress</strong>.
</p>
<p style={{ margin: '0 0 6px 0' }}>
This change reflects our commitment to enhancing user experience and aligning with our product vision.
</p>
<p style={{ margin: 0 }}>
All references to Dataverse Integration in the documentation and UI will be updated to DataPress.
</p>
</div>

## Custom form examples

### 1. Update a Contact

```twig
{% form entity="contact" mode="update" record=record|to_entity_reference %}
<form>
<div class="form-group">
<label>First Name:
<input class="form-control" name="firstname" value="{{ record['firstname'] }}">
</label>
</div>

<div class="form-group">
<label>Last Name:
<input class="form-control" name="lastname" value="{{ record['lastname'] }}">
</label>
</div>

<div class="form-group">
<label>Email:
form-control" name="emailaddress1" value="{{ record['emailaddress1'] }}">
</label>
</div>

<div class="form-group">
<label>Phone:
<input class="form-control" name="telephone1" value="{{ record['telephone1'] }}">
</label>
</div>

<button type="submit" class="btn btn-primary">Send</button>
</form>
{% endform %}
```

### 2. Contact Us Form (Create) + reCAPTCHA

```twig
{% form entity="lead" mode="create" recaptcha=true %}
<form>
<div class="form-group">
<label>First Name:
<input class="form-control" name="firstname">
</label>
</div>

<div class="form-group">
<label>Last Name:
<input class="form-control" name="lastname">
</label>
</div>

<div class="form-group">
<label>Email:
<input class="form-control" name="emailaddress1">
</label>
</div>

<div class="form-group">
<recaptcha></recaptcha>
</div>

<button type="submit" class="btn btn-primary">Send</button>
</form>
{% endform %}
```

### 3. Date Only & Date Time fields

```twig
{% form entity="contact" mode="create" %}
<form>
<div class="form-group">
<label>Account Name:
<input class="form-control" name="name">
</label>
</div>

<div class="form-group">
<label>Date Only:
<input class="vdatetime" name="cr1d1_dateonly">
</label>
</div>

<div class="form-group">
<label>Date Time:
<input class="vdatetime" name="cr1d1_datetime">
</label>
</div>

<button type="submit" class="btn btn-primary">Send</button>
</form>
{% endform %}
```

### 4. Display extracted date/time values

```twig
<div class="form-group">
<label>UTC Date:
<input class="form-control" name="cr1d1_datetime_utc_date" value="{{ currentRecord['cr1d1_datetime_utc_date'] }}">
</label>
</div>

<div class="form-group">
<label>Local Date:
<input class="form-control" name="cr1d1_datetime_local_date" value="{{ currentRecord['cr1d1_datetime_local_date'] }}">
</label>
</div>

<div class="form-group">
<label>UTC Time:
<input class="form-control" name="cr1d1_datetime_utc_time" value="{{ currentRecord['cr1d1_datetime_utc_time'] }}">
</label>
</div>

<div class="form-group">
<label>Local Time:
<input class="form-control" name="cr1d1_datetime_local_time" value="{{ currentRecord['cr1d1_datetime_local_time'] }}">
</label>
</div>
```
Loading