Skip to content

feat(SFT-1311): added a form variable to the field rendering variables #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from

Conversation

seandelaney
Copy link
Contributor

Form info is now available within a field:

{exp:freeform_next:form form="myForm"}
    Fields Info
    <ul>
        {rows}
            {fields}
                <li>
                    Field
                    <ul>
                        <li>Label: {field:label}</li>
                        <li>Handle: {field:handle}</li>
                        <li>Type: {field:type}</li>
                        <li>
                            Form:
                            {field:form}
                            <ul>
                                <li>ID: {form:id}</li>
                                <li>Name: {form:name}</li>
                                <li>Handle: {form:handle}</li>
                                <li>Description: {form:description}</li>
                                <li>Return URL: {form:return_url}</li>
                                <li>Return: {form:return}</li>
                                <li>Action: {form:action}</li>
                                <li>Method: {form:method}</li>
                                <li>Class: {form:class}</li>
                                <li>Page Count: {form:page_count}</li>
                            </ul>
                            {/field:form}
                        </li>
                    </ul>
                </li>
            {/fields}
        {/rows}
    </ul>
{/exp:freeform_next:form}

@seandelaney seandelaney requested a review from kjmartens May 20, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant