Dynamic Forms with Subforms and Text Fields
I've been reading all of the messages relating to subforms and dynamic forms and have used many of the suggestions, but haven't found anything that addresses the problem I am having. I'm using Designer 7.0. I've saved my form as a dynamic form, I've set my text fields for multiple lines and expand to fit. My problem is that as soon as I set the parent subform to Flow Content, everything moves to the left margin. I've tried grouping items together within a subform in hopes that the items will maintain their position on the page, but everything always moves to the left margin. I'm creating a legal form that needs to have text and a text field centered at the top of the page. Below that to the left is a text field that needs to be able to expand with two text fields to the right of it. Below that are additional text fields that need to expand as needed.
Am "stacking" my subforms incorrectly and setting the wrong subform to Flow Content? Or, can you now lock a field to a specific position? Any help would be greatly appreciated.
Unfortunately, I hadn't understood that you needed the fields to expand in height and everything below them to move down the page. In that case, you'll need to use flowed subforms.
Having all objects move to the left side of the page is expected when setting a subform to flowed. That's because the flow is top-down, left-right.
One thing you could try is making the text field that needs to be centered exactly as wide as the flowed subform and then setting its left- and right-hand margins to an equal number. This would ensure an equal amount of space on the left- and right-hand sides and because the field would be as wide as its flowed container (subform), entering multiple lines of text would result in everything below moving down.
I've attached a sample form where the page subform has been set to flowed, the text field at the top is a multi-line/height-expandable text field with its width set to the page width and its left- and right-hand margins both set to 2in and the button and check box objects are pushed below the text field.
When text is entered into the text field, it expands in height and causes the button and check box to move down.
To achieve other horizontal and vertical positioning/offsets, you could play with the margins of all the fields that need this.
Stefan
Adobe Systems
Similar Messages
-
Form with only 1 text field + ENTER: Error 404
I have several JSP pages with forms to enter/edit data. As long as I use the mouse to click the submit buttons, I get no errors. If the form has more than 1 text field to enter, i can also edit one of these text fields and press the ENTER/RETURN key which has the same effect as the submit button clicked with the mouse. But if a form just has 1 text field, I get the following error when I press the ENTER/RETURN key (instead of clikcing the submit button with the mouse):
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
This is the same case on all JSP pages that only has 1 text field: they work when using the mouse by pressing the submit button but fail when using the ENTER/RETURN key.
Is this a known bug? Is there a workaround for this?I believe that text inputs can have their own action
attribute, so providing the same value there as in
the form may help (though by default it should defer
to the form's action).
So try something like:
<form action="x.jsp">
<input type="text" name="..." action="x.jsp"/>
</form>
That doesn't help. The addresss bar is also always the same as the jsp pages are displayed in a html frame. -
Runtime error in Dynamic internal table with AMOUNT and Quantity Fields..
Dear friends,
I am attempting write a dymanic Select Statement (with joins).
And the sleect query looks like this..
SELECT (LT_SEL_LIST)
INTO CORRESPONDING FIELDS OF
TABLE <DYN_TABLE>
FROM (LT_FROM_LIST)
WHERE (LT_WHERE3).
Here the into table is a dynamically created internal table..
which is created by ...this
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = IT_OUTPUT2[]
IMPORTING
EP_TABLE = DY_TABLE.
the it_output2 contains the the fieldcatlog information of dynamically given fields :-
like:-
TABNAME
FIELDNAME
DATATYPE
LENG
INTTYPE
ROLLNAME
DECIMALS
REFTABLE
REFFIELD
i mean the internal table is constructed with reference to all the bove metadata.
Problem:- This query run fine with all the fields Except AMOUNT AND QUANTITY fields....
When the selection list contain VBAK-NETWR or MSEG-MENGE..It throws a runtime error.
"The data read during a SLECT access couldnt be inserted into the target field,either conversion is not supported for
the target field's type or the target field is too short."
after this I even tried to construct the dynamic table with CFILEDNAME and QFIELDNAME in the Fieldcatalog.
so now my fieldcatlog looks like this:---
LOOP AT IT_DD03L..
IF IT_DD03L-DATATYPE = 'CURR'.
TABLEFIELD-CFIELDNAME = IT_DD03L-FIELDNAME .
ENDIF.
IF IT_FIELDCAT3-DATATYPE = 'QUAN'.
TABLEFIELD-QFIELDNAME = IT_DD03L-FIELDNAME .
ENDIF.
TABLEFIELD-TABNAME = IT_DD03L-TABNAME.
TABLEFIELD-FIELDNAME = IT_DD03L-FIELDNAME.
TABLEFIELD-DATATYPE = IT_DD03L-DATATYPE.
TABLEFIELD-INTLEN = IT_DD03L-LENG.
TABLEFIELD-INTTYPE = IT_DD03L-INTTYPE .
TABLEFIELD-ROLLNAME = IT_DD03L-ROLLNAME.
TABLEFIELD-DECIMALS = IT_DD03L-DECIMALS.
TABLEFIELD-REF_TABLE = IT_DD03L-REFTABLE.
TABLEFIELD-REF_FIELD = IT_DD03L-REFFIELD.
APPEND TABLEFIELD.
CLEAR TABLEFIELD.
ENDLOOP.
Note:- this is a test code so ignore performance issues...
Please help me with some code ...to avoid the Runtime erorr.
Thanks,
jeevan.Hi Jeevan,
Why are moving only few fields from DD03L table to your field catalog? Why don't you use move-corresponding? The following code works for me in ECC6.0.
data: it_dd03l type table of dd03l initial size 0,
ls_dd03l type dd03l,
lt_fldcat TYPE lvc_t_fcat,
ls_fldcat TYPE lvc_s_fcat,
ls_where(72) TYPE c,
lt_where LIKE TABLE OF ls_where,
lt_fld LIKE TABLE OF ls_where,
lt_data_dy TYPE REF TO data.
field-symbols: <ft_data> TYPE STANDARD TABLE.
select * into table it_dd03l from dd03l
where tabname = 'VBAK'
and ( fieldname = 'VBELN' or fieldname = 'NETWR' ).
check sy-subrc eq 0.
loop at it_dd03l into ls_dd03l.
move-corresponding ls_dd03l to ls_fldcat.
append ls_fldcat to lt_fldcat.
move ls_dd03l-fieldname to ls_where.
append ls_where to lt_fld.
if ls_dd03l-fieldname = 'VBELN'.
clear ls_where.
concatenate ls_dd03l-fieldname ' <> ''''' into ls_where.
append ls_where to lt_where.
endif.
endloop.
check not lt_fldcat is initial.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = lt_fldcat
IMPORTING
ep_table = lt_data_dy
EXCEPTIONS
generate_subpool_dir_full = 1
OTHERS = 2.
IF sy-subrc <> 0.
RAISE no_configuration_data.
ENDIF.
ASSIGN lt_data_dy->* TO <ft_data>.
check sy-subrc eq 0.
select (lt_fld) from VBAK into corresponding fields of table
<ft_data>
where (lt_where).
Thanks
Bala -
How to save a completed form that was created as a dynamic form, with expandable files?
I have created a dynamic PDF form with expandable fields etc. As this is to be accessible for customers to completed, how can they save a completed copy on their own PC?
I tried it myself and I receive an error msg stating that I can only save a Blank Copy of this Form: Data typed into this form will not be saved. Adobe Reader can only save a blank copy of this form.
How can I create a dynamic form (with expandable fields/flowable layout etc) that allows the applicant to not only complete the form but also, to save a completed copy?Thanks! That worked , however I now have an additional issue.
While the form works in Internet Explorer (I'm using IE11), in that it's viewable, it opens and allows me to save etc) it doesn't work in Google Chrome and I'm getting the below error message:
Any ideas on why it doesn't display in Chrome and does in IE (I'm using the same PC and I'm using Adobe Reader XI)!
there are other PDF forms on site that are not dynamic but are fillable, and these are opening!
Thanks -
More help with visible and hidden fields
Looking for the script that will let me click a button and then show hidden text fields.
Here's what I want to do:
I have a text field on my form that if another text field is needed, the user clicks the "Add another Case" button and the hidden text field will appear.Does anyone have any suggestions? Thanks.
Basically, I have several needs on this form:
First, I only want a text field to be visible if the Add New button is selected. Otherwise I need the text field hidden.
Secondly, I have several text fields where I need to allow for multiple entries of the same type of information. Such as Party Information (which consists of name, address, city, state, etc.) There will be more than one party, so I would need the form to record the first information for the party, then the user clicks Add Another Party......which then clears the previous information allowing for the user to enter the next party info, and so on.
I'm sure this is all basic stuff, but as I said, I'm new to this and just need to be set in the right direction. Not sure how to get you the form.
Thanks a bunch -
Get the value from dropdown list (selectedIndex) and text field -- not working
Hi All,
I am trying to find and change by the values selected by user using dropdown and text field. Here is the code.
ChangeRevDetails();
function ChangeRevDetails(){
var myDialog = app.dialogs.add({name:"Enter copyright information"});
// var monthlist = col1.dropdowns.add('myList', undefined, myList);
var col1 = myDialog.dialogColumns.add();
var col2 = myDialog.dialogColumns.add();
col1.staticTexts.add({staticLabel:"Month:"});
col1.staticTexts.add({staticLabel:"Year:"});
col1.staticTexts.add({staticLabel:"Rev. no.:"});
var myList = [ "January", "February", "March", "April", "March", "April", "May", "June", "July", "August", "Sepetember", "October", "November", "December" ];
var myMonth = col2.dropdowns.add({stringList:myList, selectedIndex:0, minWidth:100});//{minWidth:100});
var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});
var MyRev = col2.textEditboxes.add({minWidth:100});
var RevMonth = (myList [myMonth.selectedIndex]);
var RevYear = myYear.editContents;
var RevNumber = MyRev.editContents;
var RevToReplace1 = RevMonth +", "+ RevYear;
var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
var myResult = myDialog.show();
if(myYear.editContents == "") //entry is ""
alert("Please enter some text into the contents field.");
ChangeRevDetails();
else if(myResult == true) //user entered datas
alert (RevMonth);
alert (RevYear);
alert (RevNumber);
alert (RevToReplace1);
alert (RevToReplace2);
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
// grep find/change
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "[\\l\\u]+?\\s?\\d{4},?\\s+[\\l\\u]+\\.*\\s+\\d+";
app.findGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
app.changeGrepPreferences.changeTo = RevToReplace1;
app.changeGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
app.activeDocument.changeGrep();
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
else //implies user clicked cancel
myDialog.destroy();
The problem is, it is not taking the value which the user selects from the dropdown and the text field. It takes the default value as "January" and the year is "2013" as both of these values are given as selectedIndex:0 and editContents:"2013". I have compared the coding with some other working scripts as well, but it is not working. I have added several alert boxes to check the value we get.
Also, the find and change is also not working. Please help me on this. Thanks.
Regards,
Muthuraj. DChange the order for dialogresults:
var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});
var MyRev = col2.textEditboxes.add({minWidth:100});
var myResult = myDialog.show();
if(myYear.editContents == "") //entry is ""
alert("Please enter some text into the contents field.");
ChangeRevDetails();
else if(myResult == true) //user entered datas
var RevMonth = (myList [myMonth.selectedIndex]);
var RevYear = myYear.editContents;
var RevNumber = MyRev.editContents;
var RevToReplace1 = RevMonth +", "+ RevYear;
var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
didn't have a look for the find change problem -
With holding tax report with material and qty fields
Dear All,
Is there any standard report available with with holding tax data with material and qty fields.
Thanks,
Sekhar.dear Friend,
Withholding tax will deduct on services. Hence Material and quantity is not relavent.
There is no report is available also.
reg
Madhu M -
I'm trying to finalize/share to Media Browser a 20 minute still slide show with music and text. I'd like to finalize it 1080 hd and have tried several times, but just before it's finished, a message box pops up saying it can't be done because "File already open with with write permission." What does this mean? All files are closed; this iMovie project is the only thing open. Does it mean one of the song files from iTunes? And should I just settle for saving it as a "large" file, which is what I'm trying right now?
Thanks,
JamieHi
Error -49 opWrErr File already open with write permission
Trash the preference files while application is NOT Running.
from Karsten Schlüter
Some users notice on exporting larger projects from within iMovie that this operation is aborted with an 'error -49'
This issue occours only on MacOs machines using 10.7x
try switching-off the Local Mobile Backup
in Terminal copy/paste
sudo tmutil disablelocal
Re-launch Mac
See also this post
https://discussions.apple.com/thread/4434104?tstart=0
Yours Bengt W -
Can DME, EDI be used to build a form(with pictures and logos)?
Hi All
I have a question on DME,Electronic transmission and forms(sapscripts,smartforms etc).
There is a program rfumsv00(advance tax return). Surprisingly this program doesnot give the option to output the data into a "form"(government specified format with logos, pictures etc).
(The program gives this facility to output to a form only for Germany and Belgium.)
Now i want to get the output of this program into a "format as prescribed by the government of India". How do i do this?
The program has facility for "electronic transmission" and DME". Can we use this to get a output similar to a "form"?If yes...how?
Message was edited by:
kumar kumarHi Anji
Thank you(I am on the verge of awaring you points).
But one last clarification. You have mentioned that i can design a FORM and then make the program call the form. But this would involve making a Z program.
I want to know if instead of the form, I can use the option "electronic return" or "DME"?Maybe the "electronic return" or "DME" already has pre defined forms (with pictures and logos) and if not will SAP allow me to define the form in DME or electronic return and make the standard program to use that? This way i dont have to do a Z development. Can you help me?
Message was edited by:
kumar kumar -
Pdf (with graphics and text) in the email body
When I place an pdf (with graphics and text) in the body of my email using Mac Mail my recipient sees them as attachments only. I am trying to find a way of presenting a formatted email with graphics that will appear the same way to all recipients, but a pdf frequently ends up being an attachment instead of staying in the body. The pdf file doesn’t seem to always show up in the body as created. Is there a better way to accomplish this?
You have no control over how your email maybe rendered by other email servers and client side software.
Attachment Tamer may give you a few more options but it does not guaranty the end result. -
How to populate image and text field in SQL Server
I want to populate a table, i.e insert images in a table in SQL Server. I am using Java(JSP/Servlet). Can any one suggest me how to populate the image and text fields in SQL Server...of course, using Java. If possible, could you please give me a piece of code?
Regards -
SamitHi,
Please check the following link for information on inserting images in to sql server database.
http://www.databasejournal.com/features/mssql/article.php/1475641
Cheers,
vidyut -
Creating an messagebox in forms with look and feel of Windows
I wanted to create an message box in my form with look and feel of windows.For this i used the package ORA.FFI...but i am getting an error....and i am not bale to clear it...the code is as follows
Package Specification: -
PACKAGE messagebox IS
/*Function message_box calls windows MessageBox function. */
FUNCTION message_box(plptext IN VARCHAR2,plpcaption IN VARCHAR2)
RETURN PLS_INTEGER;
END;
Package body : -
PACKAGE BODY messagebox IS
lh_window ORA_FFI.LIBHANDLETYPE;
fh_mb ORA_FFI.FUNCHANDLETYPE;
lh_forms ora_ffi.libHandleType;
/* Function i_mbx acts as the interface to the Messagebox
function in windows
FUNCTION i_mbx(funchandle IN ORA_FFI.FUNCHANDLETYPE,
plptext IN OUT VARCHAR2,
plpcaption IN OUT VARCHAR2)
RETURN PLS_INTEGER;
PRAGMA interface(C,i_mbx,11265);
FUNCTION message_box(plptext IN VARCHAR2,
plpcaption IN VARCHAR2)
RETURN PLS_INTEGER IS
ltext VARCHAR2(500) := plptext;
lcaption VARCHAR2(500) := plpcaption;
BEGIN
RETURN(i_mbx(fh_mb,ltext,lcaption));
END;
BEGIN
lh_window := ORA_FFI.LOAD_LIBRARY('d:\','DclMsgBox.dll');
fh_mb := ORA_FFI.REGISTER_FUNCTION(lh_window,'DclMsgBox',ORA_FFI.C_STD);
ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_CHAR_PTR);
ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_CHAR_PTR);
--ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_INT);
END;
Now when i call this function in When-New-Form-Instance as
declare
p number;
begin
p:=messagebox.message_box('hello','test');
end;
I had created an dll for message box and placed the .dll and .lib files in the d:\ of my system.
I get an error message when i run the app. The error is:
The instruction at "0x005a3b24" referenced memory at "0x00000006".The memory could not be "read".
Can anybody please tell me where have i gone wrong....Colin Martin wrote:
I agree the leather look is horrible. It's just not a reflection of the cutting edge modern design we have all got to love over the years. If it has to be there at least give us a choice of looks.
There is a word for this (not that one) - skeuomorph. Wikipedia defines this as 'a derivative object that retains ornamental design cues to a structure that was necessary in the original. Skeuomorphs may be deliberately employed to make the new look comfortably old and familiar'.
Common examples are found in audio software with pictures of actual knobs that you turn, as here; and the leather-bound tear-off look of calendar and contacts on the iPad is the same principle: the intention is to make it familiar and friendly to people who might otherwise be frightened off by a modern look because they are not used to modern technology. The whole concept and look of the iOS operating system is being brought into use on Macs for the same reason, to encourage non-tech-savvy people not to be frightened of them.
This is all very well in its way, but in these two particular cases the result is unfortunate, particularly for experienced users, and it really ought to be possible to choose between the looks (as you can with the Mail layouts), even if the skeuomorph is the default. -
Can anyone recommend an alternative software programme to Pages? I have an OS X 10.7.5 macbook pro, so I am unable to get it. I want a programme that I can create docs with pictures and text on, invitations, posters etc. Many thanks in advance…..
LibreOffice
-
CreateTextField and _height: Problem with Placement of Text Fields
I'm using createTextField to create several text fields
dynamically. I'm also using an external XML file and a style sheet
to populate the text fields.
My problem is that I'm trying to position the various text
fields on the page so that they are spaced evenly on the page
(regardless of how much content they might contain). I'm trying to
use _height of the prior text fields to place subsequent text
fields, but I'm getting very inconsistent results. When I trace the
value of _height, I get differing results, even if I don't actually
change any of the parameters. So, the question is...is there a way
for Flash to get the height of a dynamically created text field
that's populated via an exteral XML file and using CSS? I know
that's asking a lot, but I'm trying to avoid using scroll bars if
at all possible.
Thanks for any pointers.
Billi assume you're using multiline textifields with a fixed
width and autoSize="left".
flash will report the correct _height of your textfields IF
you access the _height property after your htmlText has been
assigned to your textfield. ie, you're probably seeing inconsistant
results because you're not waiting until all data needed to
populate your textfield has loaded. -
Dynamic Input form with PLAN and Actual Confusion (YEAR-row / MONTH-Column)
Hi Guru's,
Assume that
Row Axis: YEAR
Column Axis: MONTH
Page Axis: VERSION
From the VERSION dimension, we re able to get Budget Year and the latest Actual Month.
For example, As u see below, the budget year is 2014 and we retreive + or - 2 years of budget year which is 2014.
And the latest actual month is Jun.
So is it possible to make a dynamic report that can retreive actual data for the budget year and latest actual month of selected VERSION and also rest of the cells should be inputtable.
By the way, we have a dimension which named as for the PLAN , ACTUAL etc.
So what do you suggest for that case? Is there any way to handle without VBA?
Thanks to all in adv.
MONTH / YEAR
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2012
2013
2014
2015
2016Hi Sadi,
I agree Vadim, you do not need extra dimension for time. You can "report" in Bex analyzer with this format but BPC reporting/input schedules is not dynamic enough. Because you can not use property in axis but in Bex it is possible. Maybe you can change input form design because where is other contex in your form, 2012.01 what, price or stocks or sth? You have to specify account and entity. I think it is useless design to input data. I added figure for sales model. In this figure, you can manage actual / budget with "if" and "today" excel formulas. And you can easily link your olap member in column axis. I think it will help you.
Best regards
Haşim.
Maybe you are looking for
-
Installation fails on Solaris 10
After downloading and executing the SGD shell script results in a failure. Same script worked fine on Solaris 9. Solaris 10 system details: root[csh]@broncos15[32]# cat /etc/release Solaris 10 3/05 s10_74L2a SPARC Assembled 22 January 2005 root[csh]@
-
USB overdrive not recognising Logitech Cordless Rumble Pad in the status?
Hello, I just got GamePad Companion for my mbp to play Max Payne 2 (Intel Crossover Version) ...the keyboard and mouse for it runs smooth and fine but when I try using my gamepad with Gamepad Companion, it gets super slow and not all the buttons work
-
Attaching Zmedruck to the print program
Hello Wanted to find out how to attach zmedruck to the print program so that when print or print preview is clicked on, in me22n the form will be called automatically. Regards Audrey
-
Configure another Inspection Type for Production Order
Hi QM Gurus, I have one scenario, my client wants to have another inspection type for inspection lot origin goods receipt from production because they have this requirement that for some materials they need to have a status profile that will be ac
-
Insert String array as label content in datagrid row through radio button C# wpf?
I have written some code for inserting label at runtime having its content set to a string array and then insert that label into a datagrid row . All of this will initiate when certain radiobuttons are checked. code is working perfectly fine. But i n