Frequently asked questions Custom Code

How do I add a hidden field to a form?

How do I add a hidden field to a form?

Examples below require knowledge of Javascript and CSS. Tilda Customer Support does not assist in code-related questions.

Add this code to block T123 from the "Other" category:

<script>
$(function () {
$("form").each(function () {
$(this).append('<input type="hidden" name="nazvanie-polya" value="znachenie-etogo-polya">');
});
});
</script>
Was this answer helpful?
Yes
0
No
0
Views: 16831