TOPIC:

add time of form submission to list view 5 years 7 months ago #200160

  • Topic Author
  • mugen
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 22
  • Thanks: 0
how would i display the submitted time of a form in content builder list view.

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

add time of form submission to list view 5 years 7 months ago #200201

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

are you using a BFs Form or a CB Data Storage as a View's Data Source?

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.

add time of form submission to list view 5 years 7 months ago #200228

  • Topic Author
  • mugen
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 22
  • Thanks: 0
Thank you for responding.
it's a BF form

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

add time of form submission to list view 5 years 7 months ago #200311

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

then you can create hidden input fields in BF with non-empty default values then in the begin submit, you override them using php with xmldata, savedata, submitdata and maildata.

crosstec.org/en/forums/40-club-forums-su...html?start=30#200000

If you need any more help with this let us know.

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.

add time of form submission to list view 5 years 7 months ago #200828

  • Topic Author
  • mugen
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 22
  • Thanks: 0
Thank you for the response unfortunately the link does not work.

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

add time of form submission to list view 5 years 7 months ago #200829

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Registered
  • Posts: 2667
  • Thanks: 329
This code should work for you. Begin Submit Custom:
$submitted = date("Y-m-d H:i:s");

$i = 0;
foreach($this->xmldata As $data){
if( $data[_FF_DATA_NAME] == 'NEWFIELDNAME' ){
$this->submitdata[$i][_FF_DATA_VALUE] = $submitted;
$this->maildata[$i][_FF_DATA_VALUE] = $submitted;
$this->savedata[$i][_FF_DATA_VALUE] = $submitted;
$this->xmldata[$i][_FF_DATA_VALUE] = $submitted;
}
$i++;

}

just create the NEWFIELDNAME field.

Let us know if this works for you.

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.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.059 seconds

Support Discord

Join our Discord and enter the Crosstec channels for live-support, chat forums and directly interacting with the community!

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

Subscribe to news and updates!

Special Offer

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!

Live Support Chat Opened!

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