make custom button in list

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
nanoLeinz
User
Posts: 22

make custom button in list

Post by nanoLeinz »

so my data has collumn thats called isDone (default value 0) with 0 or 1 for the value,
How can i make custom button to edit the value of 'isDone' to 1 when clicked


arbei
User
Posts: 9292

Post by arbei »

You may use Row_CustomAction server event.


nanoLeinz
User
Posts: 22

Post by nanoLeinz »

so i need to make custom php file for example update.php with row_customaction function, and make button thats linked to the update.php?


arbei
User
Posts: 9292

Post by arbei »

You may put your code in the server event directly, see the example in docs (see link above).


nanoLeinz
User
Posts: 22

Post by nanoLeinz »

Thanks sir, but i don't know how to make custom button and link the button to the func in row_customaction.
Could you tell me the docs to do that?


mobhar
User
Posts: 11660

Post by mobhar »

To create the custom button that related to the Row_CustomAction server event above, then you may simply use Page_Load server event; see Example 4.


Post Reply