viewEntryButton( (string) $clickable_text, (int | array) $entry_id_or_dataset_record, (int) $override_screen_id )
Location
/modules/formulize/include/entriesdisplay.php
Description
This function behaves exactly the same as viewEntryLink except it results in a clickable button being generated instead of a clickable link.
Parameters
$clickable_text - The text that should appear on the button.
$entry_id_or_dataset_record - Optional. The entry id that the button should take the user to, or a single record from a dataset gathered by the getData function. If a dataset record, then the first entry found in the record will be used. If this parameter is empty or not specified, then the current record being displayed in the List Template will be used. If the function is being called from Template screen code, then this parameter is required.
$override_screen_id - Optional. By default, the entry will be displayed using the form specified in the settings for the List of Entries screen or Template screen. If you want an alternate screen to be used, then specify it here.
Return Values
Returns the HTML markup for the button.