Button Issue
-
Good Morning Michael
You have been so helpful in the past and I hate to have to ask more of you, however I have been working on this for two days and can two get it to work. Below is a script that you helped me come up with. It works great, but I need it so do one more thing. I need the script to show and work only when a filed in the data base is not empty. The name of the field is “commitment3” I want the button to show and work only when the field has a value in it and not show when it is empty. I put an extra space “http:// ptia” so the script would show here. Thanks<script type=”text/javascript”>
(function ($) {
$(‘td[title=”submit_time”] div’).each(
function () {
$(this).html(‘<button style=”background-color:#C0C0C0; color: 000000; font-size: 09px; border-radius: 10px; width: 80px; height: 25px”>Click Here!</button>‘);
})
})(jQuery);
</script>https://wordpress.org/plugins/contact-form-7-to-database-extension/
The topic ‘Button Issue’ is closed to new replies.