Project

General

Profile

Feature #3515

The use of name attribute of HTML element

Added by Long Nguyễn Đức about 7 years ago. Updated almost 7 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.

#1

Updated by Koen Deforche about 7 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

#2

Updated by Koen Deforche almost 7 years ago

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

Updated by Koen Deforche almost 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF