Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
How to dinamically load image in EditForm on load?
-
- Posts: 156
- Joined: Wed Dec 23, 2020 12:28 pm
- Location: Russia, Volgograd
- Has thanked: 32 times
- Been thanked: 7 times
- Contact:
How to dinamically load image in EditForm on load?
I have some image fields on EditForm:
I need to load image files on open EditForm - make captcha. How do it? What script insert in Custom field?You do not have the required permissions to view the files attached to this post.
Wbr, miasoft.
-
- nuBuilder Team
- Posts: 4304
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: How to dinamically load image in EditForm on load?
Hi,
Where a the images located (DB / file / URL?)
Where a the images located (DB / file / URL?)
-
- Posts: 156
- Joined: Wed Dec 23, 2020 12:28 pm
- Location: Russia, Volgograd
- Has thanked: 32 times
- Been thanked: 7 times
- Contact:
Re: How to dinamically load image in EditForm on load?
simple icon's files in folder \nubuilder4\libs\imgkev1n wrote:Hi,
Where a the images located (DB / file / URL?)
Wbr, miasoft.
-
- nuBuilder Team
- Posts: 4304
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: How to dinamically load image in EditForm on load?
Code: Select all
$('#object_ID_of_your_picture').attr('src','libs/img/your_pic.png');
-
- Posts: 156
- Joined: Wed Dec 23, 2020 12:28 pm
- Location: Russia, Volgograd
- Has thanked: 32 times
- Been thanked: 7 times
- Contact:
Re: How to dinamically load image in EditForm on load?
Thx, kev1n!kev1n wrote:Code: Select all
$('#object_ID_of_your_picture').attr('src','libs/img/your_pic.png');
I do it - captcha on change form works fine!
Wbr, miasoft.