
Search In
Validation in cakePHP is on the client side and on the server side.
Client side validation is on the js file that is in the webroot folder.
Server side validation is on the model which we are using.
Client side validation is important as it do not
Hello,
I am sharing here how we can take backup of our Project mysql database file and upload it in our Dropbox Account. Advantage using this feature is we can store our database backup in our Dropbox account daily. We can set our script as a cron
This tutorial will help us about the internal property [[Extensible]].This internal property [[Extensible]] of an object in javascript, is used to specify whether properties can be add to an object or not.Before using the internal property [[Extensib
In readonly field first we have to go in .py file (python file)
After that we have to decide where we want readonly field and then give attribute readonly to that field.
See below python code in py file for reference : -
class spartner(osv.osv):
To set process in subscription module, first you need to install subscription module and set interval number and interval type fields in subscription module is used to set the process. You can use this function as given below
def process(self, cr,
To create a random string of x characters using defined string of possible characters we will first of all define a function which will return a random string of length that you have passed as a parameter to the function. The script is given below:
Many a times, we have come across a need that execution of DML statement on one database table should lead to modification in another table with some specific set of values. What’s the novice way to do? Simple, fire the first modification query then
Data validation plays an important role in any application, It helps to confirm that the data in a Model confirms to all the rules of any application.
There are 2 types of validation in cakephp. First one is server side and the next is
Writing test cases is most important key activity performed by tester in software development life cycle(SDLC). This is the first step, followed by tester to identify, define & analyze the requirement.
Test Cases: A test case is a set of conditi
In OpenERP first you have to create the product and price of the product and then relate both price and product to the event form and return the value of the product and validate it to database like as in param self and param cr. Param self mean
