How to get value in field on form

Hi All,

I need to get a couple values from a form in the “Row_Inserting” event.
I tried to use [“field_name”] and I discovered that it was returning an array instead of specific value.

Is there some other way of getting that value?

Thanks.

yes, that is correct it returns an array of the values being inserted.

access like:

$myvalue = $rsnew[‘myfield’];

etc…

Hi sticcino,

Thanks! That worked!

Is this in the documentation somewhere?
I am still pretty new to PHPMaker so it could be that I glossed over it…

Sincerely,

craigbert

You may see the topic Server Events and Client Scripts in the help file, it explains what arguments you can use in the server events.