Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.
I have an "edit item" page. I want to be able to update some of the text inputs, (item_name for example) and stay on the page, but when the primary submit button is pushed I want it to re-direct to the view item page.
I have two action submits on the page which works fine, but it seems I can't set one to refresh, and one to view item, if I change either the other changes also?
Initially I tried to just do an action:remote and update the input row. The API post works fine in the preview, but in the app it doesn't update.
My guess is it's pulling item_name from the db record, rather than the input field so it's updating back to itself.
So any idea how to;
A. pull from the input field to update with action:remote.
or
B. set two action:submit actions on a page with different "on Success" instructions?
2 replies
Wrote something in this thread and want it removed? Request removal
Ask the community on Discord
This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.
Join the Discord