Title: textlink at registrationform
Last modified: August 30, 2016

---

# textlink at registrationform

 *  [Lifescan](https://wordpress.org/support/users/lifescan/)
 * (@lifescan)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/textlink-at-registrationform/)
 * Hi is it possible to add a textlink for terms and tonditions between the confirm
   password input and the register button?
 * [https://wordpress.org/plugins/zm-ajax-login-register/](https://wordpress.org/plugins/zm-ajax-login-register/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Zane Matthew](https://wordpress.org/support/users/zanematthew/)
 * (@zanematthew)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/textlink-at-registrationform/#post-6730626)
 * I haven’t tried this, but it may be possible.
 * You’ll need to use a custom filter. The filter can be found here: [https://github.com/zanematthew/zm-ajax-login-register/blob/5009adf4d2e091baf6febfc1c0fad23bbed5066a/src/ALRCore/ALRHtml.php#L33](https://github.com/zanematthew/zm-ajax-login-register/blob/5009adf4d2e091baf6febfc1c0fad23bbed5066a/src/ALRCore/ALRHtml.php#L33)
 * What you’ll want to do is re-format the array of fields to your liking.
 * \`function my_custom_filter( $fields ){
    // my array of fields } add_filter( ‘
   zm_alr_register_form_fields’, ‘my_custom_filter’ );`
 * You can view how the array is formatted here: [https://github.com/zanematthew/zm-ajax-login-register/blob/master/src/ALRCore/ALRRegister.php#L119](https://github.com/zanematthew/zm-ajax-login-register/blob/master/src/ALRCore/ALRRegister.php#L119)
 *  [Thulani Matshoba](https://wordpress.org/support/users/skinnyninjah/)
 * (@skinnyninjah)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/textlink-at-registrationform/#post-6730629)
 * Hey Zane, I inserted a check box on the form which links to the terms & conditions
   in my website but now I’m struggling with the code to validate it because i want
   it to be a requirement to check when you registering… Can you please point me
   to the right php or js file to do this
 * Thanks
 *  [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/textlink-at-registrationform/#post-6730630)
 * i CREATED ONE LIKE THIS – NOW HOW WOULD WE VALIDATE THIS HECK BOX?
    $this->prefix.‘
   _terms_condition’ => array( ‘title’ =>__( ‘Terms & Conditions’, ZM_ALR_TEXT_DOMAIN),‘
   type’ => ‘checkbox’, ‘href’ => ‘[](http://www.google.com)‘, ‘required’ => true,‘
   label’ => ‘Please tick the box to download terms & Conditions’, ‘extra’ => ‘autocorrect
   =”none” autocapitalize=”none”‘, ),
 *  Plugin Author [Zane Matthew](https://wordpress.org/support/users/zanematthew/)
 * (@zanematthew)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/textlink-at-registrationform/#post-6730631)
 * You should simply be able to add the HTML attribute of “required” to the `extra`
   field, see below:
 * `'extra' => 'autocorrect="none" autocapitalize="none" required',`
 *  [stefk](https://wordpress.org/support/users/stefk/)
 * (@stefk)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/textlink-at-registrationform/#post-6730632)
 * Perfect thank you!
 *  [uwew](https://wordpress.org/support/users/uwew/)
 * (@uwew)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/textlink-at-registrationform/#post-6730651)
 * Hey there,
 * I just started looking into this really useful plugin and I wonder where/how 
   exactly you added your code, steak? Moreover, what might be the exact syntax 
   to add custom fields? Do I need to get the Pro version to customize via hooks?
 * Thanks for you help in advance,
 * – Uwe
 *  [uwew](https://wordpress.org/support/users/uwew/)
 * (@uwew)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/textlink-at-registrationform/#post-6730653)
 * I answered my own question:
 * [https://gist.github.com/zanematthew/e581e72627980d113d8b](https://gist.github.com/zanematthew/e581e72627980d113d8b)
 * Thanks,
 * – Uwe

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘textlink at registrationform’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/zm-ajax-login-register_479bd1.svg)
 * [ZM Ajax Login & Register](https://wordpress.org/plugins/zm-ajax-login-register/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zm-ajax-login-register/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zm-ajax-login-register/)
 * [Active Topics](https://wordpress.org/support/plugin/zm-ajax-login-register/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zm-ajax-login-register/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zm-ajax-login-register/reviews/)

## Tags

 * [input](https://wordpress.org/support/topic-tag/input/)

 * 7 replies
 * 5 participants
 * Last reply from: [uwew](https://wordpress.org/support/users/uwew/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/textlink-at-registrationform/#post-6730653)
 * Status: not resolved