Search found 77 matches

by antonio
2011-12-13 11:54
Forum: ADDT
Topic: regular expression or mask sample?
Replies: 2
Views: 4417

regular expression or mask sample?

Hi all, I just can't make my validation form behaviour to behave correctly. I need to validate a numeric input field so that the user enter: VALID VALUES: 1,1 10,01 1000,01 1,0001 NOT VALID VALUES: 1as 1.01 1.000,01 But I cannot find a way to create a mask or regular expression to do this. Basically...
by antonio
2011-12-05 15:57
Forum: ADDT
Topic: advanced validation
Replies: 2
Views: 4050

advanced validation

Hi all, still having problem with validation. sorry. All I wanto to do seems easy: I would like to throw an error if 5 fields are left to default. Example: field1: [0_______] field2: [0_______] field3: [0_______] field4: [0_______] field5: [0_______] name: [_______] this form should show an error if...
by antonio
2011-12-05 13:19
Forum: ADDT
Topic: validate field based on another field?
Replies: 2
Views: 4042

Re: validate field based on another field?

Additional info: I found an interakt tutorial that seems to do this but I'm not sure it working ok. The tutorial says simply to add another validation form that will validate one filed based on another field. Once I add this to the page I don't see anymore the asterisk for all required fields. All r...
by antonio
2011-12-05 12:49
Forum: ADDT
Topic: validate field based on another field?
Replies: 2
Views: 4042

validate field based on another field?

Hi all, I have a custom transaction with few input fields. I need to validate a field, based on another field. Example: Here is the form: 'quantity1' [__________________] - Category1(dropdown menu - static) 'quantity2' [__________________] - Category2(dropdown menu - static) The field category shoul...
by antonio
2011-11-21 18:16
Forum: ADDT
Topic: a sort of dependent drop down...?
Replies: 0
Views: 4163

a sort of dependent drop down...?

Hi all, I have a custom transaction on a page that is driving me crazy. I have a dropdown menu(1) that allow you to select a record from a table (mysql). Then I have 5 additional fields that get populated once I select something from the main drop-down menu(1). I used multi-field drop-down to do thi...
by antonio
2011-11-18 18:00
Forum: MX Kollection - Pro Edition
Topic: adding form fields at runtime?
Replies: 2
Views: 5182

adding form fields at runtime?

Hi all, I'm using ADDT here, but I think this is the same in Kollection 3 pro. I need to create a form with a X number of fields. Something similar to: --------- MYFORM field1 field2 field3 --------- [submit] [add field(button)] After clicking the add field button the field4 is created. So the form ...
by antonio
2011-11-07 12:34
Forum: ADDT
Topic: dynamic forms: how to make fields read-only dynamically?
Replies: 1
Views: 3286

dynamic forms: how to make fields read-only dynamically?

Hi all/Fred ;) , I would like to build a dynamic form that acts differently based on user actions. Example: I have a form with a dropdown menu where the user can select item 1 and item 2. The form contains other 2 fields: - item 1 details - item 2 details I would like to make the field "Item de...
by antonio
2011-10-14 08:41
Forum: ADDT
Topic: practical question about insert form/2 tables/email
Replies: 3
Views: 5228

Re: practical question about insert form/2 tables/email

Hi Fred, Thanks for your reply. I can easily link the two table with the same query you posted. My problem is retrieving the USER data while inserting data in another table. I have an Insert Record Form server behaviour on my page. The IRF will insert data in the order table. In the same table I hav...
by antonio
2011-10-13 09:47
Forum: ADDT
Topic: practical question about insert form/2 tables/email
Replies: 3
Views: 5228

practical question about insert form/2 tables/email

Hi all, I need a little advice on how to develop a simple procedure. I have 2 tables: 1- users (complete anagraphical data) 2- orders I have a page where the user can login and go to the insert order page. In the order page I have a form that will be filled and sent by email to a fixed specified add...
by antonio
2011-07-29 17:30
Forum: ADDT
Topic: hot to insert a UNIX_TIMESTAMP in a field with an ADDT form?
Replies: 2
Views: 4622

Re: hot to insert a UNIX_TIMESTAMP in a field with an ADDT f

SOLVED: I have put

Code: Select all

time()
as default in the dynamic form and set the field in phpmyadmin as INT (10).

I changed the update transaction too, just to update the unix timestamp when updating the record, so I've put

Code: Select all

time()
as default of the date field even to the update transaction

HTH

tony