开发者

View terms and conditions without losing form inputs?

开发者 https://www.devze.com 2023-01-30 09:59 出处:网络
I have a form that allows users to view some terms and conditions, which causes them to leave the current page. When they come back, the form is blank.

I have a form that allows users to view some terms and conditions, which causes them to leave the current page. When they come back, the form is blank.

How can I store their inputs so they don't lose what they've already entered?

I would ra开发者_C百科ther avoid popups if possible.


You could make the link to the Terms and Conditions open in a new tab/window (target="_blank"), or you could use a modal dialog to overlay the Terms and Conditions info in the same page.

I don't know Ruby/RoR though.


If the term and condition is mandatory, why don't you load it in the first place and then you can easily manipulate it using lightbox/fancybox or simple javascript.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号