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
Accueil / forum / Public Forum / Main Forum / RTL Issue with form

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.

× OLD Forum post could be checked here : forum.joomprod.com

RTL Issue with form

More
11 years 4 months ago #12268 by raedzaro
RTL Issue with form was created by raedzaro
Hello

how to rtl the form
More
11 years 4 months ago #12308 by tompap
Replied by tompap on topic RTL Issue with form
We are based on bootstrap 3.

You could check this link for information, seems that you will need some plugin/css for that

stackoverflow.com/questions/19730598/rig...-twitter-bootstrap-3
More
11 years 4 months ago #12320 by raedzaro
Replied by raedzaro on topic RTL Issue with form
I added the rtl but got this

('#adminForm').submit(); } jQ().ready(function() { jQ('#adminForm').validate({ submitHandler: function(form) { if (submitbutton() == true) { form.submit(); } } }); }); function submitbutton(mfrm) { var errorMSG = ''; var iserror=0; var form = document.adminForm; var srcList = eval( 'form.selected_cats' ); var srcLen = srcList.length; if (srcLen == 0) { errorMSG += "\u0642\u0633\u0645"+" : "+"\u0647\u0630\u0647 \u0627\u0644\u062e\u0627\u0646\u0629 \u0645\u0637\u0644\u0648\u0628\u0629"+'\n'; srcList.style.background = "#B94A48"; iserror=1; } else { for (var i=0; i < srcLen; i++) { srcList.options.selected = true; } } nbCurrentImages = document.getElementById('nbCurrentImages').value; if(max_total_file_count < nbCurrentImages) { if(max_total_file_count == 1){ errorMSG += "Veuillez selectionner l'option photos pour pouvoir mettre plus d'une image."+'\n'; } else { errorMSG += 'Vous avez trop de photos, le maximum autorisé est de '+max_total_file_count+'.'+'\n'; } iserror=1; } if(iserror==1) { return false; } else { //Little hack to be able to return the selected_cats srcList.name = "selected_cats[]"; return true; } } function updateFields() { var form = document.adminForm; var singlecat = 0; var length = 0; if ( typeof(document.adminForm.category ) != "undefined" ) { singlecat = 1; length = 1; } else if (typeof(document.adminForm.selected_cats ) != "undefined") { length = form.selected_cats.length; } else { length = 1; } } function checkdependency(child,parentname,parentvalue,cleanValue) { //Simple checkbox if (jQ('input[name="'+parentname+'"]').is(':checkbox')) { //alert("test"); if (jQ('input[name="'+parentname+'"]').attr('checked')) { jQ('#adminForm #'+child).show(); jQ('#adminForm #row_'+child).show(); } else { jQ('#adminForm #'+child).hide(); jQ('#adminForm #row_'+child).hide(); //cleanup child field if (jQ('#adminForm #'+child).is(':checkbox') || jQ('#adminForm #'+child).is(':radio')) { jQ('#adminForm #'+child).attr('checked', false); } else { if (cleanValue == true) { jQ('#adminForm #'+child).val(''); } } } } //If checkboxes or radio buttons, special treatment else if (jQ('input[name="'+parentname+'"]').is(':radio') || jQ('input[name="'+parentname+'[]"]').is(':checkbox')) { var find = false; var allVals = []; jQ("input:checked").each(function() { if (jQ(this).val() == parentvalue) { jQ('#adminForm #'+child).show(); jQ('#adminForm #row_'+child).show(); find = true; } }); if (find == false) { jQ('#adminForm #'+child).hide(); jQ('#adminForm #row_'+child).hide(); //cleanup child field if (jQ('#adminForm #'+child).is(':checkbox') || jQ('#adminForm #'+child).is(':radio')) { jQ('#adminForm #'+child).attr('checked', false); } else { if (cleanValue == true) { jQ('#adminForm #'+child).val(''); } } } } //simple text else if (jQ('#adminForm #'+parentname).val() == parentvalue) { jQ('#adminForm #'+child).show(); jQ('#adminForm #row_'+child).show(); } else { jQ('#adminForm #'+child).hide(); jQ('#adminForm #row_'+child).hide(); //cleanup child field if (jQ('#adminForm #'+child).is(':checkbox') || jQ('#adminForm #'+child).is(':radio')) { jQ('#adminForm #'+child).attr('checked', false); } else { if (cleanValue == true) { jQ('#adminForm #'+child).val(''); } } } } function dependency(child,parentname,parentvalue) { //if checkboxes jQ('input[name="'+parentname+'[]"]').change(function() { checkdependency(child,parentname,parentvalue,true); }); //if buttons radio jQ('input[name="'+parentname+'"]').change(function() { checkdependency(child,parentname,parentvalue,true); }); jQ('#'+parentname).click(function() { checkdependency(child,parentname,parentvalue,true); }); checkdependency(child,parentname,parentvalue,false); } jQ(document).ready(function() { updateFields(); });
More
11 years 4 months ago #12411 by tompap
Replied by tompap on topic RTL Issue with form
You add your custom CSS with error, because you can see some javascrpit
I think you forget: </style>
Moderators: perry
Time to create page: 0.047 seconds
Powered by Kunena Forum