Welcome, Guest
  • Page:
  • 1

TOPIC: Automatic incremental numbering field

Automatic incremental numbering field 2 years, 5 months ago #10127

Someone now how to create a counter with a Textfield?
The idea is to have an automatic numbering Textfield?

It´s possible to create something like two fields in a row to put in one field quantity an in the other description?


Regards
  • josecarlos
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0

Re:Automatic incremental numbering field 2 years, 3 months ago #11704

I would like to create a small text or hidden field in my form which uses auto-increment a number and place it in that field each time the form 'submit' button is pressed. Some javascript function to make the auto-increment?

Using the ID of the saved record database is not possible because I have 5 forms. Because the ID of the record database is for example 2 and i used another form the ID will already be 3 when it should be 1.
There should be a record ID for each form, but do not know how to do this.

any help would be appreciated,

regards
  • josecarlos
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
Last Edit: 2 years, 3 months ago by josecarlos.

Re:Automatic incremental numbering field 1 year ago #37363

I would need to do this too. How can we do it?? I have paid for support but never get responses to my tickets.
  • mercer1122
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0

Re: Automatic incremental numbering field 1 year ago #38360

This will solve your problem... just change the form= "your form id"


<?php
$this->execPieceByName('ff_InitUtilities');
$this->execPieceByName('ff_SubmitUtilities');
if (!function_exists('ff_selectValue')) $this->execPieceByName('ff_selectValue');
$value = ff_selectValue("SELECT count(*) FROM #__facileforms_records where form=23");
$value = ($value + 1);
return $value;
?>


/Steve
  • Betrakta
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 1
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.30 seconds

Facebook Discount - 40% Off!

Fans of our Facebook page here are entitled to get a 1-year-subscription for the price of a 6-months!

Steps to take:

  • Become a fan on Facebook (Like) here
  • Purchase a 6-months-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of your like and we'll upgrade to the 1-year-subscription

Joomla!® Forms Discount - 40% Off!

Already purchased a forms extension from a different vendor but your requirements changed and now you need a forms extension that is capable of more than just the standards? We help you to keep the costs for a change under control: Get a 40% discount on our professional membership plan! -- meaning timely unlimited access to all current and future commercial extensions, breezingforms themes & apps and Joomla!® templates at crosstec.de, including 1 year of support -- without any website limitations -- Just prove that you previously purchased another forms extension for Joomla!® from a different vendor and you are qualified.

Steps to take:

  • Purchase a 1-year-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of the purchase for the other form vendor and we'll upgrade to the professional-subscription

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany

Imprint