Using a custom plugin to capture input data via Ajax and PHP
Using a custom plugin to capture input data via Ajax and PHP
Using a custom plugin to capture input data via Ajax and PHP
How to store data from multiple forms using ajax and php
So I would take of on your html form the onsubmit()=…, once isnt needed and your javascript function should only have something like this. document.getElementById(“form_1”).style.display = “none”; or document.getElementById(“form_1”).style.visibility = “hidden”; this should do the job, if for some reason it does not, change the onclick from the input to the form tag. Your code … Read more
Can I use custom CSS and js plugin to put JavaScript in to validate my forms
Your best option for a form plugin is Gravity Forms. It has the ability to create multiple choice options via a drop down or check box and you can use conditional logic that will display fields based on choices in previous fields. I highly recommend it.
@janoChen, The problem could be that your email server is not using Domain Keys or a valid spf record DomainKeys is an e-mail authentication system that allows for incoming mail to be checked against the server it was sent from to verify that the mail has not been modified. This ensures that messages are actually … Read more
eval() with insufficiently sanitized input is evil. 🙂
case “radio”: foreach ($value[‘options’] as $option) { ?> <label for=”<?php echo “{$value[‘id’]}_{$option}”; ?>”> <input type=”radio” name=”<?php echo $value[‘id’]; ?>” id=<?php echo “{$value[‘id’]}_{$option}”; ?> value=”<?php echo $option; ?>” <?php checked($option, get_settings($value[‘id’])); ?> /> <?php echo $option; ?> </label> <?php } break; But I don’t recommend coding theme/plugin settings this way. The array above doesn’t just represent … Read more
you can use plugins fro the front-end posting: Post From Site uCan Post WP User Frontend Or you can create the form yourself <!– New Post Form –> <div id=”postbox”> <form id=”new_post” name=”new_post” method=”post” action=””> <p><label for=”title”>Title</label><br /> <input type=”text” id=”title” value=”” tabindex=”1″ size=”20″ name=”title” /> </p> <p><label for=”description”>Description</label><br /> <textarea id=”description” tabindex=”3″ name=”description” cols=”50″ … Read more
EAMann helped me and I was able to get the meta data from clicking on “show custom field keys” and using get_post_meta();