HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Date format problem: year isn't displayed if first
Hi, I tried to add a date input to the form with the order: year, month, day - national standard. The year doesn't get displayed. If the year is second or third then it displays fine. No year: echo $Sender->Form->Date('date', array('Fields' => array('year','month','day'))); Ok: echo $Sender->Form->Date('date',… -
Re: Pre-populating recipients for Private Messages
Attributes are passed with an array when you create a new form element: $sender->Form->textBox('YourTextBox', ['placeholder' => t('Some text, made translatable by using the t() function')]); But it sounds as if you would like to add a placeholder to an existing form element. I do not know how that can be achieved. -
Re: Enhancements and Feedback
The form tags are missing, though ;-) Again, browse through class.form.php and see if you find what you need. Maybe you already found that when looking for examples in Vanilla. It would be as easy as echo $form->open(); and $form->close();. While you can use $form->close('Vote/View');, I prefer making it more explicit by… -
Re: Gdn_Form - Associative Arrays?
I wouldn't say you have to modify the form class. If you look at checkboxes in that class you find the functions Checkbox, CheckboxList, CheckboxGrid, etc. Each function has a different use case. You seem to look for something like a "TexboxList" which doesn't exist. So you would either have to create that for yourself or… -
Addon upload not possible
-
Method Documentation for Version 3.3
Are articles like this one https://success.vanillaforums.com/kb/articles/256-models-forms-validation the only current documentation? Where is the section of developer docs that will tell me what methods would be on $this->Form? Obviously that example would connect to html form elements, but surely you have something… -
Discussion Event handler
-
Solution to form submission when the user is logged off
We found a need to allow a specific form to be displayed and processed even when the user is logged off. One use case is when an employee fills in a form requesting to be invited (norally we pre-invite users). We noticed that the test for postback always returns false,upon investigation we discovered that the culprit is… -
DuckDuckGo Smarty Template Function to replace {searchbox}
I've come up with a PHP Smarty template function to display a DuckDuckGo search function. I put this in my template, where it's used. To make this modular and share-able with other forum admins, where would y'all suggest I put this? It's a bit too little to warrant a plugin IMHO. The code: function… -
After submitted, it says successful, but the from isn't emailed to support?
397 results