The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi, I'm currently creating a custom page where users may be able to edit their own informations including custom fields like first name, user type, gender, etc... Thanks to a tutorial I found in this forum, it was making a good progress, the problem is in the part where the information input comes from a drop down box with "Allow user to input their own value for this option", how will i save the data if the user opted to input his own value?
here is an example of my code in saving the edited fields, field33 is the field im describing. PHP Code:
|
#2
|
|||
|
|||
![]()
I'm not sure I follow everything you're saying, but it seems to me that in general there's an <input> or <select> tag for each field, but for what you describe you will need a <select> and an <input type="text"> for field33, and they should have different names. Then you can have your code check both and choose which one to save as field33.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|