Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 15 Jul 2014, 13:07
AmazingRibs AmazingRibs is offline
Join Date: May 2014
Access query string from wtihin a widget/template?

Hey guys, I want to prepopulate a custom field on the registration page with a variable I'm passing in query string. Something like /register?vcode=****** and I populate the input I created with the vcode value.

Currently I'm doing it through javascript but this is causing a lot of issues for some users with slow or old browsers. Any way for me to pull this data in my widget_register template and use as value="" on my custom input?
Reply With Quote
Old 15 Jul 2014, 18:19
Lynne's Avatar
Lynne Lynne is offline
Join Date: Sep 2004
Real name: Lynne
Is this custom field a user profile field? If so, just enter something for the Default Value.
Former Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Old 15 Jul 2014, 22:41
AmazingRibs AmazingRibs is offline
Join Date: May 2014
No, they purchase an activation code for a membership to all sorts of things including the forum. We direct them here to register the forum and want to have the activation code already filled in. I figured it out though.. kind of hacky, but it works well.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 21:18.

Layout Options | Width: Wide Color: