Welcome Guest, Not a member yet? Register   Sign In
form helper - on submit hash location problem
#1

[eluser]alectrash[/eluser]
Hi I am using

Code:
<?=form_open('/item/view/' . $itemurl . '.html#leavecomment')?>

to redirect upon a form being submitted to:

/item/view/an-item.html#leavecomment

but instead it goes to

/item/view/an-item.html#leavecomment.html

and the hash location does not work.

Is there any quick way around this without removing .html suffix from my CI configuration.

?
#2

[eluser]Yash[/eluser]
work on form_open function

extend and change it according to ur needs.




Theme © iAndrew 2016 - Forum software by © MyBB