Datenbankeinträge einschränken

  • Posts: 748
  • Karma: 27
  • Thank you received: 92

marinkosevo replied the topic: Datenbankeinträge einschränken

The validation is entered in the date selection field, this is the code, and you need to change these messages in caps.
function ff_datum_validation(element, message)
{
    if (jQuery('#ff_elem255').val() >= 3 && jQuery('#ff_elem19').is(':checked')) {
        if (message=='') message = " ALREADY 3 ACHES.\n"
        ff_validationFocus(element.name);
        return message;
    }
else if (jQuery('#ff_elem276').val() >= 5 && jQuery('#ff_elem19_1').is(':checked')) {
        if (message=='') message = " ALREDY 5 INNS.\n"
        ff_validationFocus(element.name);
        return message;
    } // if
    return '';
} // ff_datum_validation
#217171
The following user(s) said Thank You: plorenz
  • plorenz
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0

plorenz replied the topic: Datenbankeinträge einschränken

What should I say? It works perfect! Thank you for your great work and BEST SUPPORT EVER!
#217184
  • Posts: 748
  • Karma: 27
  • Thank you received: 92

marinkosevo replied the topic: Datenbankeinträge einschränken

I am so glad it has worked for you. If you need any help, you can reach us here.

Best regards,
Marinko
#217186
  • Posts: 748
  • Karma: 27
  • Thank you received: 92

marinkosevo replied the topic: Datenbankeinträge einschränken

Hello, I will leave code here for reference, this is update for working with contentBuilder, the problem was in url of the php files, so I had to add root path.
function ff_fliegenfischer_init()
{
var url1 = document.location.origin + '/ache.php';
var url2 = document.location.origin + '/inn.php';
jQuery("#ff_elem14_calendarButton").blur(function(){
jQuery.ajax({
        type: 'GET',
        url: url1,
        data: 'date=' + jQuery("#ff_elem14").val(),
        success: function(data){
           jQuery("#ff_elem255").val(data);
      }
    });
jQuery.ajax({
        type: 'GET',
        url: url2,
        data: 'date=' + jQuery("#ff_elem14").val(),
        success: function(data){
           jQuery("#ff_elem276").val(data);
      }
    });});
} // ff_fliegenfischer_init

And for graphic problem, you need to insert " jQuery( "#cbFilterTitleWrap" ).prev().remove();" script into some of your script files that get called on page load, it needs to be called on that content builder page, as your template is creating some empty div that takes much space. I hope you understand.

Best regards,
Marinko
#217364
  • Posts: 748
  • Karma: 27
  • Thank you received: 92

marinkosevo replied the topic: Datenbankeinträge einschränken

Added form pieces, after form, for content builder display problem:
if (strpos($_SERVER['REQUEST_URI'], "edit") !== false){
echo '
<script>

jQuery("#ff_elem14").prop("readonly", true);
jQuery("#ff_elem14_calendarButton").prop("disabled", true);
jQuery("#ff_elem19").prop("disabled", true);
jQuery("#ff_elem19_1").prop("disabled", true);

</script>';
}
#217520
  • Posts: 748
  • Karma: 27
  • Thank you received: 92

marinkosevo replied the topic: Datenbankeinträge einschränken

Content builder edit problem, didn't receive values from radio button when disabled, so disabled only ones that are not checked in the form before.
jQuery(":radio:not(:checked)").attr("disabled", true);
#217630
Moderators: ForumSupporttomeperica
Time to create page: 0.067 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here