Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

How do I made the form dynamic?

Avatar

Former Community Member

I have a PDF that I go into (Edit | Form Properties) using LC WB.  I change three options from static to dynamic and every time I go back it is static again.  How do I keep the form dynamic?

I tried renaming it to XDP, but that didn't make a difference.

One goal is I want a button to appear when a value is entered into one of the fields.  I have the script on it (FormCalc and client) for the change event set to: RecalcBtn.presence = "visible";

Probably an easy question, but I haven't done much of this and could use a little help.

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

You will have to create a new form for your application and in the wizard choose the appropriate type. You can copy and paste the work form the other form......OR.

You coudl drag the form from WB onto your desktop, then launch Designer outside of WorkBench and open the PDF file, then the saveAs will work and then drag th enew form back into the app.

The issue is that you decided when you created the form in the first place and there is no provision to change the type on the fly.

Paul

View solution in original post

5 Replies

Avatar

Former Community Member

You woudl have to do a File/SaveAs and choose the type as dynamic. The setting that you are changing is for Preview only.

Paul

Avatar

Former Community Member

I originally tried to do a File | Save As to change it from PDF to XDP, but that wasn't an option.  The only option I have is where to save it, not the type or any attribute.  Obviously I'm doing something wrong, but I don't see what.

In LC WB ES 8.2 with the form open I'm clicking on File and the selecting Save As...  The only option is to rename it or where to put it.  Sigh.

Avatar

Correct answer by
Former Community Member

You will have to create a new form for your application and in the wizard choose the appropriate type. You can copy and paste the work form the other form......OR.

You coudl drag the form from WB onto your desktop, then launch Designer outside of WorkBench and open the PDF file, then the saveAs will work and then drag th enew form back into the app.

The issue is that you decided when you created the form in the first place and there is no provision to change the type on the fly.

Paul

Avatar

Former Community Member

Thanks.  I did open it in Designer and was able to do the save as you mentioned.  I'm assuming I can just copy it back into LCWB to do the processes and perhaps the scripting, although I see you can do scripting in Designer.

Avatar

Former Community Member

Yes just drag it back into your application, then you can edit it in WB. When you ask to create  a new form the wizard will ask you what type. Once that selection is made (in WB) then you are not supposed to change it (as other parts of the process coudl depend on it). That is why you seem to be jumping through hoops to get this done.

Paul

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----