Check boxes, Radio Buttons, and XML Field Order
I am working with Adobe Designer Version 7.0. Hopefully this forum can still address my issues.
I am creating a registration form that will often be submitted via email to us for processing. To help make the data both easy to transfer for us into our excel file and to minimize the errors made by the people using the form, I need the form to be able to do a couple of things that I am having a hard time figuring out. My questions are the following:
I have a list of 7 check boxes that each insert a dollar value into a seperate numeric field on the form. Each check box has a unique dollar value associated with it. Is there any way to design the form so the user can only choose one of the check boxes? I tried using radio buttons in a group, but if a user mistakenly chose the wrong radio button and then selected another button from that group, it would add to the total in the Application Fee field and not subtract out the previous amount. Below is the code i used for one of the check boxes.
I have two numeric fields that the user must choose one or the other. Can I design those two fields (numHomes and numBuildings) so that if the you enter a value for one field, you cannot enter a value for the other field? Both fields are then calcuated in a seperate numeric field. Below is the code i used for the numeric field.
I want to be able to take the data emailed to us as an XML file when a user submits the results via email and directly paste it into our Excel file. To keep the cut and paste process simple, I want to make sure the order of the XML fields matches the order of the database fields so it can be done in one shot. Do you know how to organize the XML fields? They do not seem to correspond to the ordering found under the Hierarchy tab. Any thoughts on this?
Thanks
if (this.rawValue == 1) then
numAppFee.rawValue = numAppFee.rawValue + 350;
else
numAppFee.rawValue = numAppFee.rawValue - 350;
endif
numHomes * 50 + numBuildings * 100 + numDups * 10
Create an XML Schema (XSD) and define that as the default form schema. The form data will conforms to the order of fields defined in the XML schema.
Hope that helps.
Nith
Similar Messages
-
Help me with Radio Buttons and Subform fields, please!
I've built a dynamic order form with three product options listed as radio buttons. The three options are "Contoured" "Standard" and "Custom". "Contoured" requires five subfields to be filled in if it is selected. "Standard" requires two subfields to be filled in if it is selected. "Custom" has no associated subfields.
My problem is that I can't figure out a script that isolates the subfields to the appropriate radio buttons. Can anyone suggest a script to use?
Thanks in advance.
BrianBrian, to understand what I did, I will first explain my hierarchy.
RBList has 3 radio buttons: A, B, C. Specify the Item Value for each Radio button, e.g. A=1, B=2, C=3. For radio button A, create 2 dropdown lists & 3 numeric fields and wrap in a subform called SubA - ensure you leave it as Visible presence. For radio button B, create 1 dropdown & 1 numeric, wrap in a subform called SubB, and make sure this is visible. I put my code on the subforms (SubA and SubB) rather than the radio buttons. Also, in order for the layout to be saved in Reader, if you want to save and reopen, you must use the script on the Calculate event. The Click event will not save the layout for you (learnt this from past experience in Designer 7.2 Designer 8 saves layout different again). The event Calculates the function as soon as you open up the file.
Using JavaScript on the Calculate event, on the SubA subform would look like this:
if (RBList.A.rawValue !=1) {
this.presence = "hidden";
else {
this.presence = "visible";
Using JavaScript on the Calculate event, on the SubB subform would look like this:
if (RBList.B.rawValue !=2) {
this.presence = "hidden";
else {
this.presence = "visible";
The radio button C would not require script if there is not subform needed.
Let me know if this works for you. -
Help with cfinput radio button and text fields
I have a series of radio buttons that allow a user to select
monetary values but I also want them to be able to define an amount
if they choose so. I was planning on doing this by providing a
radio button with the value of other and then using a text field to
allow the user to enter the monetary value. The problem with this
is that they might enter a user defined monetary value but forget
to set the radio button to "other".
I was hoping that I could set the "other" text input field to
read only until the point that the user selects the "other" radio
button. Is there a way to do this using onSelect or another method.
Or is there a better way to approach this problem? Thanks for any
help or advice in advance.Hi,
You could call a js function which will select the radio
button "other " when the user types something in(there are various
events on cfinput). This way the user will not have to worry about
selecting the radio button and your requirement will be satisfied.
Hope this Helps.
Thanks,
Bhakti -
I create PDF forms on daily basis for multiple people around but still, I create a table in Word and then manually convert it to PDF. I'm using Acrobat X and then I manually create radio buttons or check boxes in each cell of the table so aligning those buttons or check-boxes in the same line is a problem. I know there would be some solution to this but can anyone guide me to that? Also, making the same size of the radio-buttons of check boxes likewise ? ? ?
Please see the image above and advise how to align them in the same line and how to make them same size using Acrobat X?
Your help appreciated.You should create these fields using the Place Multiple Fields command, so that they are aligned properly and all the same size. Read about it here:
http://help.adobe.com/en_US/acrobat/X/pro/using/WS8C2DDC1C-C174-4ad1-893F-B14A1C0289B4.htm l
Read how to align and distribute fields here:
http://help.adobe.com/en_US/acrobat/X/pro/using/WS6D2D2BFC-6F69-4a8b-BDE6-8043D7EE240D.htm l -
Flash combobox, check box, radio buttons to wok with php for email
Hi i'm a newbee in flash web designing can you help me
out???? I'm making a reply form consist of text field, check
buttons, combo box. think my acton script and php code has a
problem. Can somebody help me out??? Thank you very muchHave a try with HTML:
"<html>First line<br>Second line.</html>" -
Radio Button and combo box in Pdf Report.
Hi,
I have to make a PDF report with text box,radio buttons and combo boxes.
The data in the text box will populate from the data base table.
Similarly the radion button will enable the particular radio button from a set of available radion buttons as per the value from the database.
Same with combo boxes.
The report putput should come in PDF.
ThanksHi,
The report sud be pdf output with details like name of person showing in textbox ,then there will be list of radio buttons out of which particular radio button will be checked as per the option for that particular person in the database.same with combox with for example A,B,C option from the look up is coming but it will be showing the option as per the name of person.We can take the name of person as the primary key.
The Problem with input controls is that they can be used to filter the report as radio buttons and combo box but they can't be sown in the report itself. -
Captivate 8, knowledge check radio buttons and check boxes not diplaying correctly in HTML5
Hello. I am working in Cp 8 on a pc (Win 7, 64-bit) and publishing in HTML5, SCORM 2004, 3rd ed. My issue is with knowledge checks. In preview they look fine, but when published, the radio buttons and check boxes are oversized and do not appear as they should. Additionally, the rollover highlight that covers the distracters is skewed and does not cover all the text in cases of long answer choices. When published as a SWF, there are no issues but project requirements are for HTML5 output only. Help?
Create an XML Schema (XSD) and define that as the default form schema. The form data will conforms to the order of fields defined in the XML schema.
Hope that helps.
Nith -
Step by step process to add Radio Buttons and Check boxes in a view
Hi,
Could somone give me the steo by step process for adding the Radio Buttons and Check boxes in a view.
Regards
Hrudaya Rajuhttps://www.sdn.sap.com/irj/sdn/articles-topic?rid=/webcontent/uuid/7082f9fc-070d-2a10-88a2-a82b12cea93c
https://www.sdn.sap.com/irj/sdn/webdynpro-elearning
https://help.sap.com/javadocs/NW04S/current/wd/index.html
https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDCheckBox.html
https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDCheckBoxGroup.html
https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDRadioButtonGroupByIndex.html
https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDRadioButtonGroupByKey.html
Armin -
How to create dropdown box, radio button,check box in wad
Hi,
How to create dropdown box, radio button,check box in wad.
Thanks,
cheta.Cheta,
This are all standard Web Items in the WAD. Drag them onto your template and then make the changes you need to them in their Properties.
Regards
Gill -
How to create popup window with radio buttons and a input field
Hi Guys,
Can somebody give some directions to create a stand alone program to create a window popup with 2 radio button and an input field for getting text value. I need to update the text value in a custom table.
I will call this stand alone program from an user exit.
Please give me the guidance how go about it or please give any tutorial you have.
Thanks,
MiniHi,
There are multiple aspects of your requirements. So let's take them one at a time.
You can achieve it in the report program or you can use a combination of the both along.
You can create a standalone report program using the ABAP Editor (SE38). In the report program you can call the SAP Module pool program by CALL Screen <screen number>. And then in the module pool program you an create a subscreen and can handle the window popup with 2 radio button and an input field for getting the text.
For help - Module Pool programs you can search in ABAP Editor with DEMODYNPRO* and you will ge the entire demo code for all dialog related code.
For Report and other Module pool help you can have a look at the following:
http://help.sap.com/saphelp_nw70/helpdata/en/47/a1ff9b8d0c0986e10000000a42189c/frameset.htm
Hope this helps. Let me know if you need any more details.
Thanks,
Samantak. -
I made a fillable form using indesign and then acrobat professional but need to have radio buttons trigger different fields showing in the form below them - is that possible and if so how do I do it??
What version of Reader are they using, exactly? And are you sure they're
using Reader itself and not opening the file inside a browser window, for
example?
On Fri, Feb 6, 2015 at 5:24 PM, jessicao96457206 <[email protected]> -
Creating radio buttons in XML Forms Builder
Hi everyone,
I can't seem to find any instructions on how to create Radio Buttons in XML Forms builder, anyone has a link or instruction on how to?
Thanks,
SamerHi Samer,
So taking the example for the slides, you need first to create a new child under DataModel for the DataSchema. You can name it "Gender".
Click on the Radio Button in the Toolbar and drag "Gender" from the left hand site into the Edit Form.
It should have already a first radio button and in the box on the bottum right you should see the reference in the Schema Reference field (/DataShema/DataModel/Gender).
You can now drag a second button from the toolbar and place it behind the first one. Make sure you add the same value in the Schema Reference field.
On the Show form or RenderListItem you need a Control Selector as mentioned on slide 18. You can just use right mouse click -> Add. Go on the new item on the right hand side, and click on "Add Multiple Labels". You can choose now how many radio buttons you have, here 2.
In our example enter in one Label "Condition" = "true" and "Label" = "Male" and in the other "Condition" = "false" and "Label" = "Female".
Finally, make sure that the Control Selector has the Schema Reference also as defined above (/DataShema/DataModel/Gender).
Hope this helps,
Robert -
Please help! How can I validate Radio Buttons and List Menu with PHP.
Hello everyone, I have been learning PHP step by step and
making little projects.
The point is I find it easy to learn by doing "practical
projects."
I have been reading the David Powers's Book on PHP Solutions
and it's really great, however there is nothing mentioned regarding
Validating Radio buttons. I know the book cannot cover every aspect
of PHP and maybe someone in here can help.
I have been learning how to process HTML forms with PHP.
The problem is every book or tutorial I have read or
encountered fall short on validation.
I'm wondering how I can learn to validate Radio Buttons and
Select List Menu.
I have managed to create validation for all other fields but
have no clue as to how I can get validation for Radio Buttons and
List Menu.
I would also like an error message echoed when the user does
not click a button or make a selection and try to submit the form.
I would appreciate any help.
PatrickIt's not that default value is "None." In fact it's not. It
will only be
"none" when the form is submitted.
Also if your submit button is names 'send' then
$_POST['send'] will only be
set if the form was submitted.
Make sure you didn't hit the refresh button on your browser
which usually
reposts the information. Also make sure you did not reach the
form from
another form with the same button names.
Otherwise paste the snippet.
Also you can check what fields are set in the post array by
adding this to
the top of (or anywhere on) your page:
print_r($_POST);
Cosmo
"Webethics" <[email protected]> wrote in
message
news:[email protected]...
>
quote:
Originally posted by:
Newsgroup User
> Off the top of my head this should be no different than
your radio buttons
> except that 'productSelection' will always fail the
!isset check when the
> form is submitted since the default value is "None", and
therefore always
> set. :-)
>
> So how about this..?
> <?php
> if (isset($_POST['send']) and
($_POST['productSelection'] == "None"))
> {echo "Please select a product.";}
> ?>
>
>
>
>
> "Webethics" <[email protected]> wrote
in message
> news:[email protected]...
> > Another question - how do i applied the code you
just showed me to
> > select
> > menu
> > or select list?
> >
> > This is the list:
> >
> > <div class="problemProduct">
> > <label for="productSelection"><span
class="product_label">Product
> > Name.</span></label>
> > <select name="productSelection" id="products"
class="selection">
> > <option value="None">-------------Select a
product----------</option>
> > <option value="Everex DVD Burner">Everex DVD
Burner</option>
> > <option value="Vidia DVD Burner">Vidia DVD
Burner</option>
> > <option value="Excerion Super Drive">Excerion
Super Drive</option>
> > <option value="Maxille Optical Multi
Burner">Maxille Optical Multi
> > Burner</option>
> > <option value="Pavilion HD Drives">Pavilion
HD Drives</option>
> > </select>
> > </div>
> >
> > I thought I could just change the name is the code
from operatingSystem
> > to
> > productSelection.
> >
> > Something like this:
> >
> > From this:
> >
> > <?php
> > if (isset($_POST[send]) and
!isset($_POST['operatingSystem']))
> > {echo "Please select an operating system.";}
> > ?>
> >
> > To this:
> >
> > <?php
> > if (isset($_POST[send]) and
!isset($_POST['productSelection']))
> > {echo "Please select an operating system.";}
> > ?>
> >
> > But this does not work, any ideas?
> >
> > Patrick
> >
>
>
>
>
> Hey, I tried this about but as you mentioned, since the
default product
> value
> is "None" an error message appears when the page loads.
>
> Is there a way to code this things so that even though
the default value
> is
> "None" there ia no error message untle you hit the
submit?
>
> When I applied the code, it messes up the previous code,
now the operating
> system is requiring an entry on page load.
>
> When I remove the code from the list menu everything
goes back to normal.
>
> I know this is a little much but I have no other
alternatives.
>
> Patrick
> -
Radio Buttons and Event Structures
Guys, I am hoping for some help here on something I probably should know but cant figure out how to do. I am using a set of radio buttons and an event structure to run a UI. The radio buttons are acting as both a user input and indicator of current status selected by the user. I have the event structure set to run on value change of the radio button. All works great unless the operator decides that he wants to repeat the selection that the radio button is already set to. The event structure does not recognize this as a change of value and will not execute. Is there a way to set the event structure up to run even if the same selection of the radio button is made a second time? I attached a crude example to this post. Basically everytime I press the button, I want an entry made into the text box, regardless if the selected item was already pressed. Any thoughts.
Troy
Attachments:
Radio Button Test.vi 16 KBInstead of hacking around the inherent nature of radio buttons, why not just use a Cluster? Its behavior in the UI is more customizable. Check this out:
I just replaced your radio buttons with a cluster, and added a little logic to the event structure to get it to behave the way you describe. I've attached the VI below, saved in 8.2, if you want to try it out.
Hope this helps,
-D
Message Edited by Darren on 11-07-2006 10:45 AM
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Attachments:
cluster_buttons.png 7 KB
Cluster Test.vi 17 KB -
Radio buttons and Checkboxes to change appearance when selected
Hi guys!
Help needed.
I want my check boxes and radio buttons when selected to change color from black to "0,64,128", size from 12 to 14 and to become bold.
Also the default appearance for checkboxes is cross, but I need it to be a check mark.
I would be so much thankful if you could give me some advice.
THANK YOU!
MariaHi Bibhu,
Thanks for quick response!
For check mark -- thanks! How could I not see that option!
For radio button -- it's not working.
I found this helpful tips on changing appearance of the radio buttons and check boxes. http://www.assuredynamics.com/wp-content/uploads/2010/11/Assure-Dynamics-Checkboxes-and-Ra dio-Buttons-Rev-1.pdf
I used the first script, but I got an error message. I can't understand what I am doing wrong. It says: "Syntax error near token "{" on line 2, column 1.
I am confused.
Help appreciated.
Maybe you are looking for
-
Hi Gurus.. I want to take a report which shows PR number - PR cretion date - PR release date - PO number - PO creation date - PO release date - PO creator in the same line. Which reports can I use, can you please advise ? Regards, subbu
-
How to embed ffmpeg encoder lib with flascc
Hello, I'm trying to embed ffmpeg encoder in a swf. How to proceed? I have download the ffmpeg shared lib from http://ffmpeg.zeranoe.com/builds/ Should I create Cmakelist file in each directory like in the Box2D flascc default example, or is there an
-
ORA-29913: error in executing callout
Hello, everybody I have some strange problem when I try to select data from an external table. The table has about 500'000 rows and select from it fetches about 200'000 rows normally and then throws the subj. message. ORA-299913 usually has name of t
-
Create Web Service (outbound proxy) with WAS 620
Hi all, Is it possible to create an outbound Abap proxy - using a WSDL - to consume a web service, in a 4.7 Release (Web AS 620)? Is there any restrictions on this release? Thanks, Miguel
-
Debugging Linux applications on Microblaze
Hello, could someone please answer some questions who is debugging Linux applications on Microblaze. I have to prepare an environment to debug applications running on Microblaze Linux 2.6.38. Everywhere, I can find hints how to do it with ARM on Zynq