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

Moderator: amosbatto

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.
Hi guys,
I read the whole documentation about textbox fileds in dynaforms but i did not found any thing about how to set the minimum required length of textboxes.
Is there any way to set this constraint by extra options of textboxes in dynaforms or maybe some thing like a validate property or do i have to use javascript ?
Thank you in advance
Hi again
I have another question related to using validation rules for text boxes.
Is it possible to use a validation rule for a text box to only accept numeric values between two numbers ? for example only between 0 and 100 ?
Thanks in advance
It depends on your range of numbers. Sometimes you can do it with regular expressions.

This will allow 0-100:

This will allow 1-99:

However, if you have a complicated range, then you might need to use JavaScript like this:
Code: Select all
//set the minimum and maximum values (inclusive) allowed 
minVal = 284;
maxVal = 5839;

$("#amount").setOnchange(function(newVal, oldVal) {
    var iVal = parseInt(newVal);
    if (iVal < minVal || iVal > maxVal) {
        alert(newVal+" is outside permitted range between "+minVal+" and "+maxVal+".");
No puedo acceder al diseñador por https.

Tengo el mismo problema. ¿Ha habido alguna[…]

I am trying to add custom font "Ubuntu-Medium[…]

Hi, I suggest you use the operator role with the[…]

Hello, Have you tried with this link: https://sou[…]