Button with ID?

Add a custom ID to a ChronoForms button.

Overview

The button element lacks a custom identifier for styling or scripting.
In the Button View, navigate to Behaviors/Interface/HTMLTag Attributes, then use 'Add Custom HTML Tag Attribute' to set the Attribute Name to 'id' and the Attribute Value to your desired identifier.

Answered
Fr Fredolino 01 Oct, 2022
Hi,
Can I add an ID to a button?
Where can I find this?

F.
Gr GreyHead 02 Oct, 2022
Hi Fredolino,

You can do this in CFv7 either by creating it with Custom HTML, or by using JavaScript to add the ID to a standard button.

Bob
Co Colnem 03 Oct, 2022
Answer
1 Likes
With CF7, you can also add an id or a class in the Button View

Behaviors/Interface/HTMLTag Attributes
Then, Add Custom HTML Tag Attribute: Attribute Name = id, Attribute Value = your_id
This topic is locked and no more replies can be posted.