⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Custom Action Button



alhuzn
  • profile picture
  • Member

Posted 03 May 2012 - 16:47 PM

Hi there,

I have a table with the following field

email | status

The email field contains emails from users, and the status field contains 0 and 1.
I just want to make an extra button on right side, an ACCEPT button, ONLY where the status value is 0.

Is it possible?

rubieruth
  • profile picture
  • Member

Posted 06 February 2013 - 07:53 AM

Good Day.

 

I'm using a grocery crud on doing our website, and i have an action button "Confrim". If i will click on the "Confrim" button, it will automatic change to "Confirmed". how can i do this? same thing with action button "Approve" and chage to "Disapprove" and "Block" change to "Unblock". can some body help me? :(


victor
  • profile picture
  • Member

Posted 06 February 2013 - 08:47 AM

You can use ajax as solution.

I wrote a plan here:

/topic/1284-custom-action-control-without-going-to-another-page/