Forums

This topic is locked

additional value to user input

Posted 03 Oct 2002 07:48:49
1
has voted
03 Oct 2002 07:48:49 Alan Chua posted:
Can someone help me on this.

I have a form for user to input their particulr, I have a text filed for my user to their phone number, as all the phone number here begin with the digit 6, I would like to ease the user from entering the digit 6.

Can anyone tell me how to insert the 6 while inserting this record to the database. I am developing this site using Ultradev 4.

The only way I can think of is creating 2 forms, one for entering data, and the other one add a 6 and then insert into data. But that's not what I want, I would like to do it al in a single page.

I hope someone understand what I mean.

Replies

Replied 03 Oct 2002 07:56:30
03 Oct 2002 07:56:30 Dave Clarke replied:
why not simply set the default value of the form field to 6, then this number already shows up in the field and your users just add the rest of the number?

Reply to this topic