gravity-forms-plugin

Gravity Forms API always 401

倾然丶 夕夏残阳落幕 提交于 2019-12-05 12:09:34
I am trying to use the gravity forms rest api, https://www.gravityhelp.com/documentation/article/web-api/ but I receive a 401 error no matter what I try. I've tried using all the methods listed in the documentation and in Steven Henty's article, https://www.stevenhenty.com/gravity-forms-api/ but it doesn't seem to work. If I am logged into a wordpress site as administrator should I not be able to use a link like: http://mydomain/gravityformsapi/forms/ Thank you for any suggestions. For mine case it was that I haven't clicked the update button "Web API" Tab. Make sure you click update button ,

gravity form preview of image upload

蓝咒 提交于 2019-12-04 22:16:32
问题 I have made a contact form using "Gravity Form", in which I used image uploader. Now I want to display preview of image to user which is uploading. Is there anyway to achieve this? 回答1: Sorry, Late Answer <script> jQuery('#imgview').hide(); function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); jQuery('#imgview').show(); reader.onload = function (e) { jQuery('#imgview>img').attr('src', e.target.result); } reader.readAsDataURL(input.files[0]); } } // your

Count length of one input field and print it in another with Gravity Forms and Javascript

こ雲淡風輕ζ 提交于 2019-12-04 06:35:51
问题 I am using Gravity Forms for Wordpress and I am trying to figure out how to count the length of characters a user types into one of my input boxes and print that number to another input box in the same form. I think this can be done with Javascript but I am a total newb and well here is my very watered down effort. Just so you can see what I am trying to do. <!-- edited --> <form> <input name="input_10" id="input_1_10" type="text" value="" class="small" tabindex="1"> <input name="input_2" id=

Get value with JQuery in gravity form

别说谁变了你拦得住时间么 提交于 2019-12-02 15:19:39
问题 I'm trying to add a formula to my gravity form (WordPress) which includes exponent.i cant use the build in calculator since there is no exponent function. its basically a loan calculator where. r=rate ;(form_id=4)/12 p=loan amount ;(form_id=1) D=duration ;(form_id=2, [drop down menu]) * 12 X=p(r/1-(1+r)^-D) X= repayment Now I get the r, p and D from the form in form of drop down and written numbers. so far I've put a HTML box and inserted this code in it : <script> gform.addFilter( 'gform

Count length of one input field and print it in another with Gravity Forms and Javascript

我怕爱的太早我们不能终老 提交于 2019-12-02 08:11:39
I am using Gravity Forms for Wordpress and I am trying to figure out how to count the length of characters a user types into one of my input boxes and print that number to another input box in the same form. I think this can be done with Javascript but I am a total newb and well here is my very watered down effort. Just so you can see what I am trying to do. <!-- edited --> <form> <input name="input_10" id="input_1_10" type="text" value="" class="small" tabindex="1"> <input name="input_2" id="input_1_2" type="text" value="" class="medium" tabindex="2"> <div style="padding:10px 15px; font