dialog set as a form strips out added object html

Issues related to previewing and publishing your web site.
Post Reply
pmacdonald
 
 
Posts: 22
Joined: Wed Feb 23, 2022 7:03 pm

dialog set as a form strips out added object html

Post by pmacdonald »

hello,

When I set a dialog object to act as a form and then add html code before the tag and after the tag, that code gets striped out when I publish the page, is this expected behavior?

Regards

Image

Here is the published source:

Image
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: dialog set as a form strips out added object html

Post by BaconFries »

Here is the published source
Where?
pmacdonald
 
 
Posts: 22
Joined: Wed Feb 23, 2022 7:03 pm

Re: dialog set as a form strips out added object html

Post by pmacdonald »

uh, in the 2nd image?
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: dialog set as a form strips out added object html

Post by Pablo »

The dialog currently does not support custom HTML,.
The reason for this is because the dialog is created via JavaScript, so it's difficult to insert custom code during design time.
pmacdonald
 
 
Posts: 22
Joined: Wed Feb 23, 2022 7:03 pm

Re: dialog set as a form strips out added object html

Post by pmacdonald »

Thank you Pablo for the clarification.

Regards

Parker
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: dialog set as a form strips out added object html

Post by BaconFries »

What second image? This is what I see
Image
pmacdonald
 
 
Posts: 22
Joined: Wed Feb 23, 2022 7:03 pm

Re: dialog set as a form strips out added object html

Post by pmacdonald »

Clearly then I have done something wrong in my original post, I see 2 images when I look at this message.

Rookie mistake.
alan_sh
 
 
Posts: 1752
Joined: Tue Jan 01, 2019 5:50 pm

Re: dialog set as a form strips out added object html

Post by alan_sh »

I see two images too.
Post Reply