Need code for the submit or save button.: Revision

Last updated by kisssssss4ever

Dear Elggers

Good Day!

Let's say I created one extra custom dropdown field and I want to add one Submit or Save button next to it.

I did try many times to add Save button next to my dropdown field by using the following codes

 echo elgg_view('input/submit');

The submit buttons shows right there but when it does not save the changes in dropdown field. When I refresh the page, I can see there is no any changes.

I tried to get help from here http://docs.elgg.org/wiki/Forms

But still no luck, please guide me, I have one dropdown button called Turn Off & Turn On... I want to add only save or submit button next to that, when users select Turn Off then it should save Turn off and when users save Turn ON then it should save as Turn ON in the page.

Appricate your help, many thanks in advance.

Cheers

 

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking

History