Project

General

Profile

Actions

Feature #3515

closed

The use of name attribute of HTML element

Added by Long Nguyễn Đức over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
Start date:
08/04/2014
Due date:
08/07/2014
% Done:

0%

Estimated time:

Description

I want to use a simple form template, that has submit button and few other hidden fields with name attribute and value attribute, to send data to another server.

However, I can't implement the form (using either WText or WTemplate), because the name attribute is removed on client side.

Please fix this issue.

Actions #1

Updated by Koen Deforche over 9 years ago

  • Status changed from New to Feedback

You need to use Wt::XHTMLUnsafeText as a text format for the template.

Also note that this is not going to work for plain-HTML sessions because there is already a

that contains the entire page.

If possible, you should consider to submit the data to the other website through a server-side action (e.g. using Wt::Http::Client).

Regards,

koen

Actions #2

Updated by Koen Deforche over 9 years ago

  • Status changed from Feedback to Resolved
  • Assignee set to Koen Deforche
Actions #3

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF