Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderators: ArturoRobles, ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#790600
A suggest control "customerName" which the underlining sql is simply selecting customer_id and customer_name from MySQL

For the moment I am using the following logic to detect whether something is found from the database and I am curious on how the others do it with PM?
Code: Select all
if ($("#customerName").getValue() == $("#customerName").getText()) {
// code for result NOT found
} else {
// code for result found
}
#790606
Sorry for the confusion. The query is simply "SELECT CUSTOMER_ID, CUSTOMER_NAME FROM CUSTOMER"

Let's say the table "CUSTOMER" contains records below

CUSTOMER_ID, CUSTOMER_NAME
1, 'Steve'
2, 'Mary'
3, 'John'

Name of the Suggest control is customerName

If user input and select 'Steve' on the control $("#customerName").getValue() will return 1 and $("#customerName").getText() returns 'Steve', meaning that the two does not matches.

However, if I input 'Nicholas', both $("#customerName").getValue() and $("#customerName").getText() return 'Nicholas'

nothing will be found and below condition if ($("#customerName").getValue() == $("#customerName").getText()) { will be fullfilled

As of now I'm still having this problem.

Timeout Not Sending Email

I am confused, but I have setup a self-service as[…]

Hello; In a dynaform (for example: called "Gr[…]

issue with processmaker 3.2

Ok thank you but i have more questions For exam[…]