Hide fields if empty
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Please, insert the following code into your form via JS-editor of Forms Designer:
Please, insert the following code into your form via JS-editor of Forms Designer:
Code: Select all
$.each($('.fd_field'), function() {
if (!$(this).find('.fd_control').text().trim()) { $(this).parent().hide() }
})
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests