Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

A bug ?

More
11 years 8 months ago #9740 by catalinads
A bug ? was created by catalinads
Adsmanager 3.0.3 in price field you can input text instead number and the ad will be validated

On demo site is adsmanager 3.0.2 where you cant input text to be validated
I installed 3.0.2 on my localhost and the same like the demo site.

components\com_adsmanager\helpers- field.php
line 537
if ($field->required == 1) {
$input = "<input class='adsmanager_required form-control' required id='$name' type='text' test='number' name='$name' size='$field->size' maxlength='$field->maxlength' $read_only value=\"$value\" placeholder=\"$placeholder\" />\n";
} else {
$input = "<input class='adsmanager form-control' id='$name' type='text' name='$name' test='number' size='$field->size' maxlength='$field->maxlength' $read_only value=\"$value\" placeholder=\"$placeholder\" />\n";


change text with number

$input = "<input class='adsmanager_required form-control' required id='$name' type='number' test='number' name='$name' size='$field->size' maxlength='$field->maxlength' $read_only value=\"$value\" placeholder=\"$placeholder\" />\n";
} else {
$input = "<input class='adsmanager form-control' id='$name' type='number' name='$name' test='number' size='$field->size' maxlength='$field->maxlength' $read_only value=\"$value\" placeholder=\"$placeholder\" />\n";
More
11 years 8 months ago #9768 by tompap
Replied by tompap on topic A bug ?
Not really the problem with type="number" is that you get a textfield with some "rows" to increase by 1 or decrease by 1 the number. It was not appropriate for a price.
but normally the test='number' is enough to validate that the input is a number. we will double check it
More
11 years 6 months ago - 11 years 6 months ago #11199 by catalinads
Replied by catalinads on topic A bug ?
still have this problem.
Price fields allouds letters.. and may be validated with letter.
Indeed in adsmanager 3.02. is not happening this... if you will test on demo site
is validating the field but not posting
Last edit: 11 years 6 months ago by catalinads.
More
11 years 6 months ago - 11 years 6 months ago #11209 by loic
Replied by loic on topic A bug ?
Hello,

The fact is the field number must filter the letter by itself, if it doesn't work then it is the browser that don't do its job.

In the demo website, the error message is incorrect when you try to send letters in the price fields, but the form isn't send.

We will take a look at this problem directly on your website.

Best regards.
Last edit: 11 years 6 months ago by loic.
More
11 years 6 months ago - 11 years 6 months ago #11224 by catalinads
Replied by catalinads on topic A bug ?
again in 3.04 i have this:
if ($field->required == 1) {
$input = "<input class='adsmanager_required form-control' required id='$name' type='text' test='number' name='$name' size='$field->size' maxlength='$field->maxlength' $read_only value=\"$value\" placeholder=\"$placeholder\" />\n";

and in 3.02 i have this

if ($field->required == 1) {
$input = "<input class='adsmanager_required form-control' required id='$name' type='number' test='number' name='$name' size='$field->size' maxlength='$field->maxlength' $read_only value=\"$value\" placeholder=\"$placeholder\" />\n";


believe me or not. take a look at field.php of both version.
i have made the modification...and this lines makes the difference
i can make this at every upgrade...
Last edit: 11 years 6 months ago by catalinads.
More
11 years 6 months ago #11244 by loic
Replied by loic on topic A bug ?
Hello,

Sorry I didn't understand the last message :/

Yes we change the type of the price field because a lot of people didn't want to see the arrow at the right of the field.

This is not a bug it's a choice we made.

I really sorry for the misunderstanding.

Best regards.
Time to create page: 0.062 seconds
Powered by Kunena Forum