TOPIC:

Listenansicht konfigurieren 4 years 7 months ago #195288

  • Topic Author
  • Kevik
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 22
  • Thanks: 0
Dear Lovre,
I am very happy that it works in this way.
But I have no idea how I should use the script.
Can you please help me, please?
I have already created a new field in the database.
What have I to do now?

Best regards,

Ralf

Please Log in or Create an account to join the conversation.

Listenansicht konfigurieren 4 years 7 months ago #195593

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2667
  • Karma: 76
  • Thanks: 329
Hi,

Could I try setting this up at your site?

Are the credentials still the same?

If yes, just let me know the name of the view and I'll continue from there.

Regards,

Lovre
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===========================================
Need to renew Pro Support?
Buy Here!
===========================================
Satisfied?
Consider a membership!
===========================================
Like us on Facebook
===========================================

Please Log in or Create an account to join the conversation.

Listenansicht konfigurieren 4 years 7 months ago #195738

  • Topic Author
  • Kevik
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 22
  • Thanks: 0
Hi Lovre,
the credentials are the same and the name of the view is "Geburtstag".

Regards
Ralf

Please Log in or Create an account to join the conversation.

Listenansicht konfigurieren 4 years 7 months ago #196117

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2667
  • Karma: 76
  • Thanks: 329
Hi,
Hi, I have worked on your "Geburtstag" view. If my German is not fooling me "Geb_Dat" is the birthday that the user selects along with the year (full date) and the "Geb-Liste M-T" is the field you want the only date filed with (without the year), so i've created a script for your Geb-Liste M-T (Click on the "text" link in the editable column > View tab >Geb-Liste M-T> Editable> Text) which goes like this:
setInterval(function() {
var parts = jQuery('#cb_71').val().split('-');
var mydate = parts[1]+'-'+parts[2];
jQuery('#cb_93').val(mydate);
}, 500);
so we are copying the date without the year to our field.

I have created a test record:
04-30	test	test	2017-04-30
but you can go ahead and create new ones to test... We can work on the format if you think we should, i just followed the formats currently present in your listview.

Just one thing, you should probably copy this script to the rest of the views as you would, i can imagine, like this to be populated in other views that are connected to your same datasource.

Let me know if this is what you were after.

Regards,

Lovre
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===========================================
Need to renew Pro Support?
Buy Here!
===========================================
Satisfied?
Consider a membership!
===========================================
Like us on Facebook
===========================================

Please Log in or Create an account to join the conversation.

Last edit: Post by lovre.

Listenansicht konfigurieren 4 years 7 months ago #196123

  • Venexian
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 52
  • Thanks: 0
Hi Lovre,
just a question: cb_71 and cb_93 are the fields' names of the db table (Geb_Dat and Geb-Liste M-T). Correct?
Thanx
Venexian

Please Log in or Create an account to join the conversation.

Listenansicht konfigurieren 4 years 7 months ago #196127

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2667
  • Karma: 76
  • Thanks: 329
no, they are ids from the html. When you create a view/form just go and click "new" in the frontend and inspect elements in the DOM.

EDIT: More correctly they are input elements' ids...the full birthday and month/day birthday fields.

Regards,

Lovre
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===========================================
Need to renew Pro Support?
Buy Here!
===========================================
Satisfied?
Consider a membership!
===========================================
Like us on Facebook
===========================================
The following user(s) said Thank You: Venexian

Please Log in or Create an account to join the conversation.

Last edit: Post by lovre.
Time to create page: 0.053 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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!