Is possible to enter a numerator in the form and send it, together with all other data, to the recipient?
Chronoforms 4.0.2
Joomla 3.2 over LAMP
Chronoforms 4.0.2
Joomla 3.2 over LAMP
The module database table is not enabled, I can't follow this solution. I not use the database, partly because there aren't features to be able to use these data records (or other modules) and partly because this module are used (in general and without obligations) in parallel with a bank payment.
Hi Fritz,
Well, you can add a random number OK. If you want any kind of serial or unique number then you need to record it somewhere.
Bob
PS And, in my opinion, if you have any form dealing with money then you should be saving the results in a database to give you an audit trail.
Well, you can add a random number OK. If you want any kind of serial or unique number then you need to record it somewhere.
Bob
PS And, in my opinion, if you have any form dealing with money then you should be saving the results in a database to give you an audit trail.
I have re-evaluated the two solutions. The idea of saving forms to a database is valid regardless of the functionality of the numerator. The organizer would need a simple numerator, that indicating the actual amount of bookings, assigning each rider their own serial number. This number would be used also on the badges and book keeping. Ogni registrazione online sarebbe poi combinato con un semplice numeratore, dal numero 1 al 200. Reading the description of your CFv4 Unique ID [GH] action, it seems to me that the numbering is not progressive (but random) and is composed of a number/string of more characters. For the purpose of this motorcycle rally is not manageable.
Hi Fritz,
If you want a serial number 44, 45, 46, 47 . . . then you can use the cf_id from the newly created database record.
Bob
If you want a serial number 44, 45, 46, 47 . . . then you can use the cf_id from the newly created database record.
Bob
Thanks Bob, I will create the table and then I'll see if integrate these features. Having three different modules (one per language), it would be possible to store the form requests on the same table, in order to have a unique number sequence?
Hi Fritz,
Yes no problem in using the same table for several forms as long as the input names match the column names.
But why would you have three forms for three languages. It's easier to maintain one form with multi-language settings.
Bob
Yes no problem in using the same table for several forms as long as the input names match the column names.
But why would you have three forms for three languages. It's easier to maintain one form with multi-language settings.
Bob
I've been following your valuable advice. I have created a multilingual form and connecting it to a single database. The action of sending the e-mail address is later than the db save. Which html-syntax should I use in the template that send the "CF_ID" value ?
I asked you the exact html syntax (in the form template) because, not being proficient with this type of programming code interfaces (with a database 😶 ), I entered the following command but it does not work.
<table border="0" cellpadding="5" cellspacing="5">
<tr>
<td><b>N° Prenotazione</b></td>
<td>
<pre>$form->data['upkca_chronoforms_data_Adesione_Multilanguage']['cf_id']</pre>
</td>
</tr>
<tr>
<td style="font-weight: bold"><strong>nome</strong><b> </b> </td>
<td>{name_field} </td>
</tr>
[...rest of the table]
Hi Fritz,
You can't just put PHP into HTML - it must be in PHP tags and the PHP needs to do something. You can either use valid PHP
Bob
You can't just put PHP into HTML - it must be in PHP tags and the PHP needs to do something. You can either use valid PHP
<pre><?php echo $form->data['upkca_chronoforms_data_Adesione_Multilanguage']['cf_id']; ?></pre>
or better use the ChronoForms 'dot' syntax<pre>{upkca_chronoforms_data_Adesione_Multilanguage.cf_id}</pre>
Bob
Thank you for your help. It does not work even with your code, at least the number not are sent in the E-Mail.😢
I also wanted to ask why the multilanguage module does not work (by click to the Frontend view link) in the other languages translated (by the multlanguage action). The Chrono_verification action will not recognize the captcha code.🤨
I also wanted to ask why the multilanguage module does not work (by click to the Frontend view link) in the other languages translated (by the multlanguage action). The Chrono_verification action will not recognize the captcha code.🤨
Hi Fritz,
Sorry I don't understand your answer :-(
Where do you want this 'numerator' to come from?
Bob
Sorry I don't understand your answer :-(
Where do you want this 'numerator' to come from?
Bob
Sorry I don't understand your answer
In the form (in the E-Mail-Template) and send it, together with all other data (enrolled by the guest in the module), to the recipient.
In the meantime I had to post the event website (http://mt-01.info). I used the three modules and resigned the use of a database and a numbering. I'll try, this solution to take up in some other project, maybe paid and not offered for free as the one in question.
This topic is locked and no more replies can be posted.