dialog set as a form strips out added object html

Issues related to previewing and publishing your web site.
Post Reply
pmacdonald
 
 
Posts: 18
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: 5364
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: 18
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: 21709
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: 18
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: 5364
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: 18
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: 1695
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