The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Enable/readonly fields on pages in a change form

Highlighted
SeanJ
Senior Member

Enable/readonly fields on pages in a change form

Customer needs below things
In change request, if they select Site access require checkbox then another change form should display with diffrent fields (as my understanding, we can have one form at a time) .
I am adding new page in change form with respective fields for site access. Can we make this page initially readonly & when they select site access require checkbox, it should make fields read/write on this page.

Please put your thoughts.
Thanks in advance.
4 REPLIES
MarkvL
Honored Contributor

Re: Enable/readonly fields on pages in a change form

Hello Sean,

Since SP18 you have the ability to use dynamic forms, you can create rules for a certain value to change the form (as you described) and show the new fields.

Check the documentation in the service pack for details, you will find it in servicepack\doc\itsm008291

Mark
HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Ruth Porter
Honored Contributor

Re: Enable/readonly fields on pages in a change form

Hi Sean,

What version are you using?

Mark's repsonse is for 4.5, if you are using version 5.1 you cannot use a dynamic form but the readonly facility may well do what you want; look at Data>required fileds>change.

Hope this helps, Ruth

http://www.teamultra.net
SeanJ
Senior Member

Re: Enable/readonly fields on pages in a change form

Hi Ruth

I am using SD4.5 with SP19.
I don't know to create dynamic form or subform & how realte to original form.

Can you give me example or share procedure
SeanJ
Senior Member

Re: Enable/readonly fields on pages in a change form

Hi Ruth & Mark

I have created subfrom & created generic relation type & ui rule.

In Main form, I have put insertion marker.New subform doesn't display.
I am attaching steps which I followed.
Please let me know where I went wrong.
//Add this to "OnDomLoad" event