Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Quiz Not Working in IE
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 12
TOPIC: Quiz Not Working in IE
#62157
Re:Quiz Not Working in IE 6 Years, 12 Months ago Karma: 0
Can you tell me what the code is that needs to be inserted to capture the first name and where should it be inserted in the PHP file?
The administrator has disabled public write access.
 
#62160
Re:Quiz Not Working in IE 6 Years, 12 Months ago Karma: 760
If you only need a field for user name, open "Settings" tab on quiz edit page and enable "Collect users' data -> Ask user name" checkbox.

If you want to add extra fields, it requires to modify the form in the template file. Add something like this:

Code:


            <div class="quiz-user-data-email data-row">
                <label for="<?php echo $prefix . '_userdata_firstname'; ?>">First name :</label>
                <input type="text" id="<?php echo $prefix . '_userdata_firstname'; ?>" data-key="firstname" autocomplete="off" placeholder="<?php esc_attr_e( 'Enter your first name', 'ari-stream-quiz' ); ?>" />
            </div>



and modify PHP code in <plugin_directory>/includes/controllers/quiz-session/class-ajax-collect-data.php file.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#62161
Re:Quiz Not Working in IE 6 Years, 12 Months ago Karma: 0
The settings option is what I needed. Thank you!
The administrator has disabled public write access.
 
Go to topPage: 12