Search In
Hello Readers,
We will add value of input text field in options of select box on blur event. Whatever we type in input text field it will added to the options of select box on blur event.
To understand the full functionality here is the
MongoDB - $exist and $type operator
$type operator : It matches values based on their BSON type.
e.g. We want to fetch documents from the collection which contains the value of "city" is only null.
db.collection.find( { "city" : { $type : 10 } }
In PHP, to search for a specific text within a string a function strpos() is used. It includes 3 parameters:
string: It is required parameter which specify the string to search.
find: It is also a required parameter which specify the string to find.
Hey there!
Form Validation is a very important aspect when it comes to filling forms. It helps us to identify if we are entering the correct information or not. This blog post will particularly deal with the form validation of date and time.
Remote Validation in ASP.NET MVC
The process of validating specific data field by posting it to server without posting the entire form is remote validation.
For e.g : There is a unique field in the database table,it's uniqueness needs t
Inserting data using JDatabase:
JDatabaseQuery class includes methods such as insert(), columns() and values() to insert data.
For example:
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(
form_for
<%= form_for(@article) do |f| %>
<%= f.label :title %>
<%= f.text_field :title %>
<%end%>
In this example i supplied an object of article to the form_for method.
It will generate the following:
<
To Use amount booked in the company currency in openerp Follow these step to given below
Step-1 Install the account_voucher module.
Step-2 After that custmozie account_voucher module.
In below example, I have custmozied account_voucher module. You
If you want to use the amount booked in the company currency as the basis of the conversion into the voucher currency in OpenERP(Odoo) follow the below given steps-
Step-1 Install the account_voucher module.
Step-2 After that customize account_vouch
Step-1 Install the account_voucher module and base module is also.
Step-2 After that customize account_voucher module and sales module:
In below example, I have customized account_voucher module. You can directly use the below account_voucher modul