Click to See Complete Forum and Search --> : about edit something


Mahfuz
11-22-2004, 05:40 AM
Dear All:

Suppose I have a page user_profile.cfm whic contains user id, name,phone,address. That page contain a button named Edit. If I click Edit button then a new page will come and contain the same information in the text box i.e; edit mode. There I can edit every thing. That page also contain submit and cancel button. If I click submit then the all information will update and go back to user_profile.cfm page and when I click cancel nothing happen and go back to user_profile.cfm page. How can I write my code.

Can anybody help me?

with thanks

Mahfuz

Kor
11-22-2004, 06:08 AM
Probably the best ideea is to do everything in server-side mode, not in a client-side mode (that means: open in a normal HTMl action,in _self target, the "edit page", send the new data to the data-base via submit action, generate the updated user_profile.cfm with a server-side application linked with your data base).

senshi
11-22-2004, 06:09 AM
.cfm

I believe is a cold fusion language, not your average HTML or Javascript.

So your not going to get mush in the way of replies about it, theirs lots of HTML and Scripted versions of forms, validation and redirection, simply hit the search button and type in forms or validation and see what pops up!