![]() |
1 Attachment(s)
Quote:
Import attached file and add to form hook: before submit PHP Code:
|
1 Attachment(s)
Quote:
|
Quote:
I think this is my favorite mod ever. Thank you so much! |
I'm in process of creating forms and collecting a long list of notices :)
For now, 3 small qwestions: 1. How to define date field value in template? My template looks like this: --------- Пользователь: {username} URL: http://forum.dev.rcdesign.ru/member.php?u={userid} $qn[5]: $q[5] $qn[6]: $q[6] $qn[7]: $q[7] $qn[8]: $q[8] --------- All other fields are ok, but date returns "Array" instead. Tryed this one "$q[8][day].$q[8][month].$q[8][year]" - doesn't help too. Form is used to send email. 2. How to get user email for registered users? Didn't found variable. 3. Which $ variable to use instead of {username} and {userid}? |
Quote:
2. {email} 3. either {username}, {userid} or $thisuser[username], $thisuser[userid] |
Thanks.
What's the difference between $q[x] and $qo[x]? Is there any logic, or "qo" is reserved for date? |
thank you so much
|
Quote:
|
Ah... thanks... now i see, that have to use $qo[x] in template for safety.
One more problem with Date field. Got email with value, but it looks like this: 1[crap]13[crap]1976 "& #92 ;" - HTML code. It was instead of \ PS. If that's a bug, but not my mistake, please wait a couple of days, until i make complete buglist |
Thanks for the mod :)
|
All times are GMT. The time now is 05:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|