... select a bunch of creator records (ok all of them)
l_AllRecords = myForm[ ID != 0 ];
//
// loop through these
for each r_Record in l_AllRecords
{
// set an if condition
if(r_Record.Type ...
... save the data by adding the record or updating the existing record
if(!isnull(input.ID))
{
// ... code to update existing record
r_Details = myForm[ID == input.ID];
r_Details.Account = input.Account.toLong();
}
else
{
// ...
...
You would think the following would work:
r_Details = myForm[ID == 1234567890123456789];
r_Details.Account = input.Account;
But it will return the above error.
You need to do the following:
r_Details ...
... and for field name, select the myForm[Form Object]. (in our example Partners_Quote[FORM OBJECT]):
"Save" that then click on "Done" to make sure it's all registered in the system. Then click on ...
... to work on the CRM record:
// assuming I have a creator form called "myForm"
// that the ID of the record is the value of the variable "myRecordID"
// that a subform exists in the form called "Attachments"
// ...
... }
}
}
//
// clear lookup
clear myLookup;
//
// get list of all valid entries
l_AllowedEntries = {};
for each v_AllowedID in myForm[ID != 0]
{
v_thisID = v_AllowedID.ID;
...
What
A more comprehensive post on some other regex (regular expressions) to format values in Zoho.
How?
The following will remove any non-digits:
v_MyString = "Hello World 123";
v_MyFormattedString ...
What?
This is an article to demo the crudest form which uses Joomla's version 2.5 core mootools (uncompressed?). This is intended for absolute novices (like me) who just want to see an example of an ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.