cancel
Showing results for 
Search instead for 
Did you mean: 

xml forms : valid from / until - default value

Former Member
0 Kudos

In XML forms, I did use the Valid From / Until lifetime properties.

I can set default values for the today date : Caption = $locDate

I would like to set as default value "today + 10 days"

What do I have to enter in the Caption field ($locDate + 10 is not working ...)

Thank you

Vincent

Accepted Solutions (1)

Accepted Solutions (1)

sascha_tubbesing
Employee
Employee
0 Kudos

Hi,

in the moment (7.0 SP12), there is no possibility to do this.

Regards,

Sascha

Former Member
0 Kudos

Thank you Sascha,

I will open an OSS message for this, and post their answer.

Kind regards

Vincent

Schalager1
Participant
0 Kudos

Hi Vincent,

I have the same issue, have you received any answer from SAP about it?

Thanks in advance,

André

Former Member
0 Kudos

Hi Vincent,

I have to do the same functionality as you have done.

I have to put current date in 'From date' & provide a 7+ current date in 'To Date'

So how to do about 'To Date' ?

Kindly provide any solution.

Thanks,

Vishal

Edited by: Vishal Randive on Apr 10, 2009 10:23 AM

Schalager1
Participant
0 Kudos

Hi Vishal,

You can only achieve it by editing the file "ProjectName"Edit.xsl inserting Javascript to fill that field with current date + 7 days. This file is located under /etc/xmlforms/ProjectName

Regards,

André

Former Member
0 Kudos

Hi Andre,

Thank you , Can you provide any code as example for this ?

Thanks,

Vishal

Former Member
0 Kudos

Vishal,

I did not solved the problem.

After having opened the OSS message, the answer from SAP was that this was not possible ...

What I did was not have a default value for the To Date field, and make this field mandatory, so the author have to maintain it.

Kind regards

Vincent

Former Member
0 Kudos

Hi Sascha,

Thank you for your definite clarification on this issue. If you know , will you please let me know that in which version this would be possible?

Or is SAP going to keep any provision for this in future version? Do we have any repository on SDN,

where i can read about future development plan for XML Form builder ?

Vincent - Thanks a lot for sharing your experience.

Thanks ,

Vishal

Former Member

Answers (0)