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?

change placeholder text and field name
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 1
TOPIC: change placeholder text and field name
#62992
change placeholder text and field name 6 Years, 8 Months ago Karma: 0
I use ARI Stream Quiz Pro for developers. What I want to do is that when the quiz is finished and the email form appears, I would like the name request to be labeled as First Name and the placeholder to be labeled as Insert Your First Name. I went to settings and under Collect User's Data, I checked the box for Ask user name. This works, but I like to collect only first names and visitors are inserting their entire name. The list service that I use in Mailchimp.

Can you please tell me which files to edit, where to find them and what to change inside these files?
The administrator has disabled public write access.
 
#63002
Re:change placeholder text and field name 6 Years, 8 Months ago Karma: 760
Hello,

Sorry for the delay. See <plugins_directory>/ari-stream-quiz/includes/views/quiz-session/tmpl/default.php template file. The following code:

Code:


            <?php
                if ( $quiz->collect_name ):
            ?>
            <div class="quiz-user-data-name data-row">
                <label for="<?php echo $prefix . '_userdata_name'; ?>"><?php _e( 'Your name', 'ari-stream-quiz' ); ?> :</label>
                <input type="text" id="<?php echo $prefix . '_userdata_name'; ?>" data-key="name" autocomplete="off" placeholder="<?php esc_attr_e( 'Enter your name', 'ari-stream-quiz' ); ?>" data-validation-message="<?php esc_attr_e( 'Enter your name', 'ari-stream-quiz' ); ?>" />
            </div>
            <?php
                endif;
            ?>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#63022
Re:change placeholder text and field name 6 Years, 8 Months ago Karma: 0
Thank you! This was exactly what I needed.
The administrator has disabled public write access.
 
Go to topPage: 1