HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Form submission help
So time to move into the Dev category :) So i am trying to add more form elements to the new discussion page. I am modifying 's EventCalendar plugin to allow for people to specify a type of Poker Game IE Cash or Tournament. So looking at his code i am not sure how this little code produces so much output :) Some how this… -
Re: Form submission help
It's beautifully simple. If a discussion is saved (because it is created or edited), every field in the submitted form is validated. Therefore, if you have a plugin which has created an additional column in the Discussion table and your plugin has extended the new discussion view so that this field can be filled out by the… -
Re: Form submission help
You want to give a time with it? I would advice to use "YYYY-MM-DD HH:MM:SS" since that is the format which is used by Vanilla anywhere. Not sure about it. There are at least two places to look at. The structure() method defines the column type as date. Does that allow saving dates together with time? If not, column type… -
Re: Form submission help
So wait, you set your validation on the MySQL database definition of the column ie if its enum it will pull that info form the database and then validate your data also max length and if its required!?! what a backwards and amazing way of doing things. I would always just know my database structure then make sure my date…
4 results