Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Default value

$
0
0
Hi PHPR community,


I have a Add form with the following field:

Form number: (It will be prefixed by either C or P depending on what is chosen on the System field). Example format C20001

System: (Choices are C or P)


The Fields->Field Properties->Default Value can be a simple way to do this but I can't seem to find a way to use PHP in getting the control value on the System field.

I am able to do this with Javascript Field Events and Add Page Event. But Fields->Field Properties->Default Value is probably the simpler solution.

Thank you.

Viewing all articles
Browse latest Browse all 2586

Latest Images

Trending Articles



Latest Images