[solved] Edit Banner Form Validation Config

More
5 years 3 months ago - 5 years 3 months ago #42936 by andkit01
Hi Adrien,

Can you point me to the code file and section that specify the Edit Banner Form validation rules.

I see that /components/com_bannersauctions/controllers/editbanner.php line 53 sets:
$validate = $model->validate($form, $data);

Can you point me to the code file and section that corresponds to $model->validate()

I am trying to disable some fields to not be required in validation.

Thanks.
Last edit: 5 years 3 months ago by nordmograph.

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #42937 by nordmograph
Hi,
Check the models/forms/editbanner.xml file
Some fields have the required class.
Removing this class and setting required="false" should help.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #42940 by andkit01
Hi Adrien,
Got it. Exactly what I was looking for.
Thanks!

Please Log in or Create an account to join the conversation.

Time to create page: 0.310 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.