Search found 77 matches

by antonio
2013-09-23 08:23
Forum: ADDT
Topic: form with a random number field?
Replies: 6
Views: 6747

form with a random number field?

Hi all, I need to create a form that should collect user data along with a random number. The random number should be unique. Sample form: - name - email - random number (hidden field) What is the best way to do this with ADDT or Kollection pro? Another option could be: - I creare two db tables: use...
by antonio
2013-05-03 08:13
Forum: ADDT
Topic: Nested repeat region and mysql error
Replies: 3
Views: 4757

Re: Nested repeat region and mysql error

Hi Fred, Thanks for your reply. But it doesn't seem to work: I get the same mysql error. This is the code I tried: <?php if ($totalRows_rsreg>0) { $nested_query_rsnome = str_replace("123456789", $row_rsreg['REGIONE'], $query_rsnome); mysql_select_db($database_conn_nardi); $rsnome = mysql_q...
by antonio
2013-04-24 14:31
Forum: ADDT
Topic: Nested repeat region and mysql error
Replies: 3
Views: 4757

Nested repeat region and mysql error

Hi all, I created a nested repeat region using the ADDT. It works great until the script encounters a a field containing a quote ('). Here is a sample list: ABRUZZO - city1 - city2 - city3 BASILICATA - city4 - city5 - city6 VALLE D'AOSTA ou have an error in your SQL syntax; check the manual that cor...
by antonio
2012-12-04 12:22
Forum: ADDT
Topic: Password protect file download?
Replies: 3
Views: 4631

Password protect file download?

Hi all, a customer of mine asked to allow downloading of files from his website after the user has been registered. So, what it the best practice to make this application? Should I use the "show if user is logged in" server behaviour and show different content based on the user state? Or i...
by antonio
2012-11-09 14:35
Forum: ADDT
Topic: calculate fields in an ADDT form?
Replies: 1
Views: 3264

Re: calculate fields in an ADDT form?

Never mind.
I solved it.
There was the form name missing: name="myform" in the form tag.
After adding it, the calculationsworkead as expected.

ciao

tony
by antonio
2012-11-07 14:38
Forum: ADDT
Topic: calculate fields in an ADDT form?
Replies: 1
Views: 3264

calculate fields in an ADDT form?

Hi all, I need to add some calculation to a custom form created using ADDT (but it is the same for MX Kollection pro). I have a custom/simple order form where there area few fields that need calculations. Example: qty1 item1_description item1_price item1_totalprice In this case I need to calculate i...
by antonio
2012-10-05 14:11
Forum: ADDT
Topic: multi-field dropdown and dropdown
Replies: 4
Views: 4766

Re: multi-field dropdown and dropdown

Thanks Fred,
I'll try that.

Ciao

tony
by antonio
2012-10-04 17:17
Forum: ADDT
Topic: multi-field dropdown and dropdown
Replies: 4
Views: 4766

Re: multi-field dropdown and dropdown

Hi all, I just tried to add a dropdown field but the Multi-field drop-down doesn't wotk with select field (only text ot textarea field) :( Is there a way to get something similar? All I want to get is the user to select an item from a drop down to populate some other fields. All those field are edit...
by antonio
2012-10-03 17:21
Forum: ADDT
Topic: multi-field dropdown and dropdown
Replies: 4
Views: 4766

multi-field dropdown and dropdown

Hi all, I have a page that has a dropdown menu and lots of text fields. I populate all text fields using multi-field dropdown and it works great. Example: MAIN DROPDOWN MENU (will fill all fields below): - textfield 1 - textfield 2 - textfield 3 - textfield 4 - textfield 5 But now I need to add anot...
by antonio
2012-09-21 09:37
Forum: ADDT
Topic: Show thumbnails and transparent background
Replies: 3
Views: 4933

Re: Show thumbnails and transparent background

Hi Tony, Check this in the GD php manual and see if you can figure something. http://php.net/manual/en/function.imagecolortransparent.php Hi Fred, thanks for the link. I've read them but it seems that you must specify a transparent color. But in PNG I cannot set a specific color as transparent. I o...