This topic is locked

page_add.php

7/27/2009 2:26:44 AM
PHPRunner General questions
F
futo author

Hello,
On add.php page i have next field:

A

B

C

D

E

F

G

how should i make code to repeat inserting etc. field C, D, E when i populate data on add page.

I think it requires java script, but i don't know how...

Same feature have google mail when you insertin contact information about person, adding one or more phone num. for sme person (Home, Business..)

you can dinamicly add more input field for same data on table
Thanks in advance
Tomo
PHPRunner 5.1.0 (2430 build) trial

J
Jane 7/27/2009
F
futo author 7/27/2009

Tomo,

please check this sample code:

http://www.asprunner.com/forums/index.php?showtopic=6504


OK. I don't want to disable any field, I want to input data to field A,B,C and then after field C, a simple link add one more time (field A,B,C)

and then press buton to ad record.

J
Jane 7/28/2009

Hi,
you can create this link manually in HTML mode on the Visual Editor tab.

Here is just a sample:

<a href=# onclick="document.forms.editform.value_FieldNameD.value=document.forms.editform.value

_FieldNameA.value;">Sample link</a>