Hi,
Formidable has a code to randomise the order of fields but I want it to instead randomize the order of my page-breaks and not the fields.
Here is their code:
add_filter( 'frm_get_paged_fields', 'randomize_form_fields', 20, 2 ); function randomize_form_fields( $fields, $form_id ){ if ( $form_id == 25 ) { //change 25 to the id of the form to change shuffle( $fields ); } return $fields; }
I know there is randomize function for the quizzies which I don't want to use.
Thanks!
Please login or Register to submit your answer