Willkommen, Gast
  • Seite:
  • 1

THEMA: How to access the RECORD ID?

How to access the RECORD ID? 2 years 3 months ago #65359

Hi, I would like to use the Record ID at the end of a Breezing Form for a confirmation number. Then I would like it so people could find the record using this Number In Con Builder.

Is this possible? Or is there another way to create a confirmation Number that can be shown at submitting.
  • alex26i
  • alex26i's Avatar
  • OFFLINE
  • Expert Boarder
  • Beiträge: 87
  • Karma: 1
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to access the RECORD ID? 2 years 3 months ago #65393

Hi,

contentbuilder will automatically search for the record id in its filter. please try it yourself.

Regards,
Markus
  • TheMuffinMan
  • TheMuffinMan's Avatar
  • OFFLINE
  • Moderator
  • Beiträge: 5558
  • Thank you received: 369
  • Karma: 64
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to access the RECORD ID? 2 years 3 months ago #65401

Yes it is true it is search-able... I need in breezing forms after submitting, to show this record ID or at least Email it to the user.

In Content builder is it {id:value} ?

In breezing forms, Can the record ID be shown on the last page for a confirmation number? Or is their a confirmation number plugin already?
  • alex26i
  • alex26i's Avatar
  • OFFLINE
  • Expert Boarder
  • Beiträge: 87
  • Karma: 1
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to access the RECORD ID? 2 years 3 months ago #65411

Hi,

if you are using BF (even with CB), then it is still a task for BF. You can add {BF_RECORD_ID:value} in the email template of breezingforms (the simplified email templates in the advanced form options).

You cannot add a record id on the last page at all, simply because the record is not yet written to the database.

Hope this helps!

Regards,
Markus
  • TheMuffinMan
  • TheMuffinMan's Avatar
  • OFFLINE
  • Moderator
  • Beiträge: 5558
  • Thank you received: 369
  • Karma: 64
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to access the RECORD ID? 2 years 3 months ago #65412

The Thankyou page.. The record should have been written by then.


Ok if I can't use ID.. Can I create some type of confirmation number??
  • alex26i
  • alex26i's Avatar
  • OFFLINE
  • Expert Boarder
  • Beiträge: 87
  • Karma: 1
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: How to access the RECORD ID? 2 years 3 months ago #65544

Hi,

if it doesn't matter how "compliacated" the number is, you can do this:

- Add a hidden input to your form (if the number shouldn't be visible) or a text field (set it as read-only)

- In the default value of the field, add this:
<?php return uniqid(); ?>

or
<?php return md5(uniqid().mt_rand(0,mt_getrandmax())); ?>

Hope this helps!

Regards,
Markus
  • TheMuffinMan
  • TheMuffinMan's Avatar
  • OFFLINE
  • Moderator
  • Beiträge: 5558
  • Thank you received: 369
  • Karma: 64
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
Moderators: ForumSupport, lennerd
Time to create page: 0.316 seconds
Powered by Kunena Forum :: Joomlana_Dark-by- bz_kunena-templates

Über Crosstec

Crosstec GmbH & Co. KG

Hohenzollernring 57

50672 Cologne, Germany

Live Chat Software