• Go to Formidable Forms Official Site
  •  Login
  •  

Log In

Forgot Password

Search

Formidable Forms Community Site

Meanster_75

Get radio button option label instead of value

Hi, Is it possible to get the option label from a radio button field and store it in a hidden field? The separate values of my radio button field contains different values that I need to use in a calculated field. The option labels for my radio buttons are 6,12,24,36,48 and will need to be multiplied by the separate values in the calculated field, so I need to store the option labels in a hidden field for this purpose (unless there is an easier or alternative way?) I've tried amending the code I found on Formidable for doing the exact same thing with a dropdown field here, but it didn't work - I changed the reference type from e.g. select[name='item_meta[994]'] to input[name="item_meta[988]"] as per the instructions on that same page. Any help would be much appreciated! I could of course just use a dropdown field instead, but a radio button makes the user experience much clearer, IMO. Thanks, Matt

Paypal IPN

Hi, I have successfully setup the Paypal add-on and it works fine. I setup IPN OK and whenever someone makes a payment through my site the IPN is received OK and all is well. However, our Charity website has a number of recurring payments setup with paypal, that were not initiated through our website and the Formidable/Paypal add-on integration (they were just made through Paypal directly, often years ago). I am now receiving occasional emails from Paypal, that state: *** start quote *** Please check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are failing: https://mywebsite.com/paypal_IPN If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account. *** end quote *** I have checked the IPN logs on Paypal and Formidable Paypal add-on and they seem to be from historic recurring payments that weren't set up through the new setup. I am under the impression it doesn't matter what IPN URL we add in the Paypal account, as formidable overwrites it […]

Randomise quiz questions

Hi guys, I'm trying to randomise the order of my questions in a quiz form and came across this function: add_filter('frm_get_paged_fields', 'get_extra_form_fields', 10, 3); function get_extra_form_fields($fields, $form_id, $error=false){ if($form_id == 25){ //change 25 to the id of the form to change shuffle($fields); } return $fields; } This works (although my form is a single page, so not sure I should be using the frm_get_paged_fields hook?) but I  have one text field (all other fields are radio buttons) that I don't want shuffled. I'm sure it's a simple single line or two of code to prevent this one field from being shuffled. I'm a PHP noob, so is anyone able to help me with it please? Also, I found this function for changing the order of the answer options for a radio button field: add_filter('frm_setup_new_fields_vars', 'frm_reorder_options', 30, 2); function frm_reorder_options($values, $field){ if ( $field->id == 125 ) {//Replace 125 with the ID of your field asort($values['options']); // sort the values here } return $values; } I would like to adapt this function to reorder ALL of my radio button fields - again, my lack of skills prevents me doing it and although I could duplicate the same function for each field […]

Navigation

  • Privacy Policy
  • Formidable Forms for WordPress

Discussions

  • An add-on
  • Creating posts/pages
  • Emails
  • Entries
  • Filter & Action Hooks
  • Forms
  • Getting Started
  • Importing/Exporting
  • Javascript
  • Reports, Graphs and Statistics
  • Styles
  • Styling
  • Tips & Tricks
  • Views

Disclaimer

The purpose of this site is to help members of the Formidable Forms Community interact with one another, provide examples of custom code and help others with topics that may not be covered by support on the main Formidable Forms website. If you are seeking support from the Formidable Forms team, please create a ticket on the Formidable Forms website.

Copyright © 2021 Strategy11, LLC